Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Owns a runtime scene, including its objects, components, hierarchy, and systems.

API: scripting
Implements: InnoEngine.Serialization.ISerializable
Inherits: InnoEngine.Scene.EngineObject
Project: Inno.Scene
Scope: Runtime

public sealed class InnoEngine.Scene.GameScene : InnoEngine.Scene.EngineObject, InnoEngine.Serialization.ISerializable
Kind Element Description
Constructors GameScene.Constructor Creates an empty scene.
Methods GameScene.AddSystem(InnoEngine.Scene.GameSystem) Registers a game system instance.
Methods GameScene.AddSystem(System.Type) Creates and registers a concrete game system by runtime type.
Methods GameScene.AddSystem (Method) Creates and registers a parameterless game system.
Methods GameScene.CreateObject Creates a game object with a mandatory transform component.
Methods GameScene.DestroyObject Recursively destroys a game object and its complete child subtree.
Methods GameScene.FindObject Finds the first game object with an ordinally matching name.
Methods GameScene.FindObjectsWithLayer Finds every game object assigned to one layer in scene storage order.
Methods GameScene.FindObjectsWithLayers Finds every game object assigned to any layer contained in a mask.
Methods GameScene.FindObjectsWithTag Finds every game object with an ordinally matching tag in scene storage order.
Methods GameScene.FindObjectWithLayer Finds the first game object assigned to a layer in scene storage order.
Methods GameScene.FindObjectWithTag Finds the first game object with an ordinally matching tag in scene storage order.
Methods GameScene.GetObjects Gets all committed live game objects in scene storage order.
Methods GameScene.GetSystemIndex Gets the display index of a registered system.
Methods GameScene.GetSystems Gets registered systems in display and serialization order. Explicit P:InnoEngine.Scene.GameSystem.order values independently control lifecycle execution priority.
Methods GameScene.InstantiatePrefab Creates a connected instance of an imported prefab in this loaded scene.
Methods GameScene.RemoveSystem Removes a registered game system.
Methods GameScene.ResetSystem Explicitly restores a registered system to its default state.
Methods GameScene.SetSystemIndex Moves a registered system to a requested display and serialization index. This operation does not change its explicit P:InnoEngine.Scene.GameSystem.order.
Properties GameScene.hierarchyRevision Gets the owner-local change counter for object membership, parentage and sibling ordering.
Properties GameScene.isLoaded Gets whether this scene is currently owned by T:InnoEngine.Scene.SceneManager.
Properties GameScene.name Gets or sets the scene display name.