The ISceneStartup interface in the Sandbox
namespace allows listening to events related to scene startup. This is primarily applicable to GameObjectSystem's, as components may not have been spawned or created when these events are invoked.
The ISceneStartup interface in the Sandbox
namespace allows listening to events related to scene startup. This is primarily applicable to GameObjectSystem's, as components may not have been spawned or created when these events are invoked.
Member Name | Summary |
---|---|
OnHostPreInitialize | Called before the scene is loaded. In game only, on host only. |
OnHostInitialize | Called after the scene is loaded. In game only, on the host only. |
OnClientInitialize | Called in game after the client has loaded the initial scene from the server, or after OnHostInitialize. This is not called on the dedicated server. |