Synced
SceneEdits.CloseScene
Section titled “SceneEdits.CloseScene”
- Closes one loaded scene without deleting its source asset and records a reversible document change.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Scene.SceneEdits.CloseScene(InnoEngine.Scene.GameScene scene, string historyName = "Close Scene")Parameters
Section titled “Parameters”Parameter scene: The loaded scene to close.
Parameter historyName: The user-facing history entry name.
Returns
Section titled “Returns”true when the scene was closed and recorded.