API ReferenceSandbox.Mounting
SceneLoader<T>class
Base class for a mount loader that produces a `Sandbox.SceneFile` built in code. Override `Sandbox.Mounting.SceneLoader.BuildScene` and create GameObjects - they become part of the mounted scene. Registration and teardown are handled for you.
object→
ResourceLoader<T>→SceneLoader<T>Constructors1
Showing 1 constructors
protected SceneLoader<T>()
No results match this filter.
Methods4
Showing 4 methods
protected virtual void BuildScene()
Build the scene contents. Any GameObjects created here become part of the mounted scene.
Returns:
void—protected virtual Sandbox.Texture GetThumbnail()
Load or create the thumbnail image for this scene, the result is cached.
protected virtual sealed object Load()
Returns:
object—protected virtual sealed void Shutdown()
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
No results match this filter.