Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Closes one loaded scene without deleting its source asset and records a reversible document change.

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

public bool InnoEditor.Scene.SceneEdits.CloseScene(InnoEngine.Scene.GameScene scene, string historyName = "Close Scene")

Parameter scene: The loaded scene to close.

Parameter historyName: The user-facing history entry name.

true when the scene was closed and recorded.