Skip to Content

UnityPlatformUIAdapter

Role: Platform bridge for UI-level concerns such as platform conventions, safe-area policy, device-specific overlays, and storefront/system UI handoffs.
Typical location: Your game assembly, commonly named UnityPlatformUIAdapter (or a platform-specific variant).

UnityPlatformUIAdapter sits between platform/runtime specifics and your game UI flow, so platform behavior is isolated from core gameplay UI logic.

Responsibilities

  • Apply platform-specific UI constraints (safe areas, orientation/runtime policy, overlays).
  • Route platform events into your UI/service layer.
  • Keep per-platform branching out of core adapter code.
  • Coordinate with UnityGameUIAdapter for final view/transition decisions.

Relationship to game UI transitions

Platform UI adapters usually do not own transition catalogs directly; they inform the game UI adapter which then issues transition requests.

Last updated on