API ReferenceSandbox
public abstract interface Sandbox.ISceneStartup
Allows listening to events related to scene startup. This should really only apply to GameObjectSystem's because components won't have been spawned/created when most of this is invoked.
Related Guides
Broader workflow and conceptual references connected to this API.
Methods
Showing 3 methods
public virtual void 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.
public virtual void OnHostInitialize()
Called after the scene is loaded. In game only, on the host only.
Implementations
public virtual void OnHostPreInitialize(Sandbox.SceneFile scene)
Called before the scene is loaded. In game only, on host only.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ISceneStartup |