Method Restore
Restore(string, bool)
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.  | 
    
| bool | restoreSceneManagerSetup | If true, the recorded active scenes are restored. EditorBuildSettings.scenes are always restored.  |