Synced
IEditorSceneWorkspace.TryGetSourcePath
Section titled “IEditorSceneWorkspace.TryGetSourcePath”
- Tries to get the current source-relative asset path of a saved scene.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”bool Inno.Editor.Scene.IEditorSceneWorkspace.TryGetSourcePath(Inno.Scene.GameScene scene, out string relativePath)Parameters
Section titled “Parameters”Parameter scene: The scene whose path is requested.
Parameter relativePath: The assigned source-relative path, including a temporarily unavailable source.
Returns
Section titled “Returns”true when a source remains assigned; availability is diagnosed separately.