interface ISceneStartup

book_4_sparkGenerated
code_blocksInput

Description

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.

Members

Instance Methods

Member NameSummary
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.