unity-ui-patterns
Installation
SKILL.md
UI/UX Patterns -- Design Translation Patterns
Prerequisite skills:
unity-ui(UI Toolkit API, USS/UXML, data binding),unity-async-patterns(async transitions, cancellation),unity-game-architecture(events, Service Locator)
Claude builds UI as monolithic scripts mixing data fetching, display, and animation. Works for one screen, unmaintainable when a designer adds transitions, dynamic lists, or multiple screens. These patterns separate structure from behavior, make screens composable, and keep juice designer-configurable.
PATTERN: Screen Flow Architecture
DESIGN INTENT: Game has multiple screens (MainMenu, Settings, Inventory, HUD, PauseMenu) with navigation flows and back-button support.
WRONG:
// One MonoBehaviour per screen with direct references -- breaks on every new screen
public class MainMenu : MonoBehaviour
{
[SerializeField] private GameObject settingsPanel;
[SerializeField] private GameObject inventoryPanel;
Related skills