Synced
GameScene
Section titled “GameScene”
- Owns a runtime scene, including its objects, components, hierarchy, and systems.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Core.Serialization.ISerializable
Inherits: Inno.Scene.EngineObject
Project: Inno.Scene
Declaration
Section titled “Declaration”public sealed class Inno.Scene.GameScene : Inno.Scene.EngineObject, Inno.Core.Serialization.ISerializableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | GameScene.Constructor | Creates an empty scene. |
| Methods | GameScene.AddSystem(Inno.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:Inno.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:Inno.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:Inno.Scene.SceneManager. |
| Properties | GameScene.name | Gets or sets the scene display name. |