Synced
IEditorSceneWorkspace.Open
Section titled “IEditorSceneWorkspace.Open”
- Opens a scene asset additively as the active editor scene.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”Inno.Scene.GameScene Inno.Editor.Scene.IEditorSceneWorkspace.Open(string relativePath)Parameters
Section titled “Parameters”Parameter relativePath: The source-relative scene asset path.
Returns
Section titled “Returns”The existing loaded instance or newly loaded scene.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown while Play Mode runtime copies are active or when the asset cannot be opened.