App Methods |
The App type exposes the following members.
Name | Description | |
---|---|---|
AreRegisteredDelayedStartupComponentsReady |
Checks whether all the registered ISupportDelayedStartup components are ready to allow interaction, and to receive persistent state
| |
CoroutineInitialise |
This method is used by our internal systems so do not call it directly.
(Overrides SingletonBehaviourCoroutineInitialise.) | |
DisconnectGhost |
Disconnect anyGhost instances we might have used
| |
GetRegisteredDelayedStartupComponentCount |
Returns the number of registered ISupportDelayedStartup components
| |
GetSceneVariantEditorPrefsKey | ||
IsRunningEditorOfflineMode |
Helper method to set offline mode for unit tests
| |
OnApplicationFocus |
Unity component message
| |
OnApplicationPause |
Unity component message
| |
OnApplicationQuit |
Unity component message
| |
OnAwake |
Override this method to call code in the Awake() method (after singleton registration, but before coroutine)
(Overrides SingletonBehaviourOnAwake.) | |
OnDestroy |
Unity component message
(Overrides SingletonBehaviourOnDestroy.) | |
Reset |
Unity component message
| |
SetupDefaultHandmenu |
Setup default handmenu (when avatar was recreated)
| |
ShowContollerInstructionDialog |
Displays the instructions for how to use the controllers
| |
WaitForSdkReadyCoroutine |
Common coroutine to wait for SDK ready.
This is safe to use immediately on Awake(), or after a restart/load
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |