Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Makes one presented scene active without changing scene order.

API: scripting
Project: Inno.Editor.Scene
Scope: Editor

void InnoEditor.Scene.IEditorSceneWorkspace.SetActiveScene(InnoEngine.Scene.GameScene scene)

Parameter scene: The loaded scene to activate.

Exception T:System.ArgumentNullException: Thrown when scene is null.

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