Unity Core Systems

Game UI architecture

A game UI should reflect game state instead of becoming the owner of that state. For example, a score manager can publish score changes and the HUD can subscribe.

  • Separate HUD from menu screens.
  • Use anchors and layout groups for responsive UI.
  • Avoid polling every UI element every frame when events can update it.
  • Test multiple aspect ratios.
Lesson complete?Use the next lesson to continue the learning path.