Description
The Reload
method in the SceneEditorSession
class is used to reload the current scene within the editor session. This can be useful when changes have been made to the scene outside of the current session, and you want to refresh the session to reflect those changes.
Usage
To use the Reload
method, simply call it on an instance of SceneEditorSession
. This will reload the scene associated with that session.
Example
// Assuming you have an instance of SceneEditorSession
SceneEditorSession session = Editor.SceneEditorSession.Active;
// Reload the current scene in the session
session.Reload();