UnityGameUIAdapter
Role: Game-specific Unity bridge for your UI game flow (show, hide, push, pop, navigation context, and transition requests).
Typical location: Your game assembly (not this package), commonly named UnityGameUIAdapter or similar.
UnityGameUIAdapter is where project-level UI behavior is wired to engine services, especially UserInterface and the game-facing UI service API (GnosisGameUIService patterns).
Responsibilities
- Translate gameplay/UI flow into service calls and facts.
- Request transitions with concrete transition ids (
inTransitionId,outTransitionId). - Coordinate midpoint actions (for example
navigateToView,popView) around transitions. - Keep project-specific screen logic out of core package adapters.
Transition integration
In most projects this adapter is the main caller of transition requests; ids should match entries configured in the coordinator prefab.
Notes
- This package does not enforce a single concrete
UnityGameUIAdapterclass shape. - Keep this adapter thin: orchestration + glue code, not large business logic.
Last updated on