Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Gets the hierarchy index of a loaded scene.

API: engine
Project: Inno.Scene

public int Inno.Scene.SceneWorld.GetSceneIndex(Inno.Scene.GameScene scene)

Parameter scene: The loaded scene to locate.

The zero-based hierarchy index.

Exception T:System.InvalidOperationException: Thrown when the scene is not loaded by this world.