Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Saves a scene into the requested asset directory.

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

string InnoEditor.Scene.IEditorSceneWorkspace.SaveToDirectory(InnoEngine.Scene.GameScene scene, string currentDirectory)

Parameter scene: The scene to save.

Parameter currentDirectory: The target asset directory.

The saved source-relative path.

Exception T:System.InvalidOperationException: Thrown while Play Mode runtime copies are active, when the asset cannot be persisted, or when saving would overwrite its unavailable assigned source.