Description
The RestoreState
method is a static method of the Editor.EditorScene
class. It is used to restore the state of the editor scene to a previously saved state. This method is asynchronous and is marked with the AsyncStateMachineAttribute
, indicating that it is part of an asynchronous state machine.
Usage
To use the RestoreState
method, simply call it from the Editor.EditorScene
class. Since it is a static method, you do not need to instantiate the class. This method does not take any parameters and does not return a value.
Example
// Example of calling the RestoreState method
Editor.EditorScene.RestoreState();