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

API: engine
Project: Inno.Editor.Scene

string Inno.Editor.Scene.IEditorSceneWorkspace.SaveToDirectory(Inno.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.