Img

Service GameFlow

Description

Inherits from: GameStage

Entry point into GameFlow and Root node of FlowGraph
It initializes FlowLibrary and creates FlowGraph inserting self as RootNode
Allows to find State Openers in library

Component

FieldDescription
Popups ContainerGlobal overlay layer popups place. Intended for Notifications, Error Popups, etc.
Root Flow LibraryRoot library of states we collect states from
Back Input Actiopn RefOptional. Back action reference

Methods

MethodDescription
Open< T > ( State src, Object? openParams = null )Open state by finding it by Type T and open with optional openParams
GetOpener_ByStateType< T > ( State src, String? guid = null )Get Opener by State Type with optional by full or cropped(7 symbols) guid of prefab
GetOpener_ByOpenerType< T > ( State src, String? guid = null )Get Opener by Opener Type with optional by full or cropped(7 symbols) guid of prefab
GetRefType ( AssetRef<State> stateRef )Get Type of state by by State Type with optional by full or cropped(7 symbols) guid of prefab
GetStateRef_ByStateType ( Type type, String? guid = null )Get state reference by
RebootCloses all nodes up to the root, destroys all states and spawns first or specified GameStage again
virtual UpdateCalls TryGoBack when BackAction is triggered

see GameStage for inherited ones