Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Exposes the active Edit or Play scene presentation and the persistence operations available to it.

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

public interface InnoEditor.Scene.IEditorSceneWorkspace
Kind Element Description
Methods IEditorSceneWorkspace.CanEdit Gets whether a loaded scene may be changed in the current Edit or isolated Play world.
Methods IEditorSceneWorkspace.IsDirty Gets whether an Edit scene contains unsaved serialized changes.
Methods IEditorSceneWorkspace.Open Opens a scene asset additively as the active editor scene.
Methods IEditorSceneWorkspace.Save Saves a scene to its existing path or into a fallback directory.
Methods IEditorSceneWorkspace.SavePrefab Captures a game object subtree as a prefab in the requested directory.
Methods IEditorSceneWorkspace.SaveToDirectory Saves a scene into the requested asset directory.
Methods IEditorSceneWorkspace.SetActiveScene Makes one presented scene active without changing scene order.
Methods IEditorSceneWorkspace.TryGetSourcePath Tries to get the current source-relative asset path of a saved scene.
Properties IEditorSceneWorkspace.activeScene Gets the active scene from the currently presented Edit or Play world.
Properties IEditorSceneWorkspace.canPersist Gets whether the currently presented scenes are authoring documents that may be persisted.
Properties IEditorSceneWorkspace.scenes Gets the Edit scenes outside Play Mode or the isolated runtime copies while Play Mode is active.