Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

InitializerSystem

pointcache edited this page Jan 15, 2017 · 4 revisions

Governs startup sequences. These are public events that you can hook up to customize your initialization.

  • OnManualSceneSwitch

Used when we are switching scenes/maps and we need to get notified when this happens, its different from OnSceneLoaded in that onscene fires every time you hit play, while this fires only when you manually force scene switch, right before it happens, so core systems have a chance to clean up in preparation for new scene

  • OnGlobalLoadConfigs

Hook your config loading here, it will happen before global systems are initialized

  • OnApplicationConfiguration

Hook your configuration events that use configs, happens after configs were deserialized

  • OnInitialLoadPersistentData

Deserialize your initial player profiles, etc

  • OnGlobalSystemsEnabled

Hook your save loading here, it will happen before local systems and loaders are initialized

  • OnLoadLocalData

Hook your save loading here, it will happen before local systems and loaders are initialized

  • OnLoadersEnabled

Hook your Loaders - level creation/generation/object spawning here

  • OnSystemsEnabled

Will enable LocalSystems stack

  • OnUiEnabled

Hook your ui here

Clone this wiki locally