Method Restore
Restore(String, Boolean)
Restore the state of the EditorSceneManager.
Declaration
public static void Restore(string path = "", bool restoreSceneManagerSetup = false)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to load the state data from. This file is generated by calling SceneManagerState.Record. |
Boolean | restoreSceneManagerSetup | If true, the recorded active scenes are restored. EditorBuildSettings.scenes are always restored. |