Unity uGUI
Overview
Unity's uGUI system provides flexible UI but requires careful optimization to maintain performance, especially on mobile devices.
When to Use
- Game menus and HUD
- Inventory and shop screens
- Scrolling lists
- Modal dialogs
- Health bars and floating text
Canvas Optimization
Canvas Splitting
// WRONG: Everything on one canvas
// Every change causes full rebuild
// RIGHT: Split by update frequency
public class CanvasOrganizer : MonoBehaviour
[Description truncada. Veja o README completo no GitHub.]