Synced
SceneManager.GetSceneIndex
Section titled “SceneManager.GetSceneIndex”
- Gets the hierarchy index of a scene loaded by the current runtime session.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Scene
Scope: Runtime
Declaration
Section titled “Declaration”public static int InnoEngine.Scene.SceneManager.GetSceneIndex(InnoEngine.Scene.GameScene scene)Parameters
Section titled “Parameters”Parameter scene: The loaded scene to locate.
Returns
Section titled “Returns”The zero-based hierarchy index.