void MakeActive( bool bringToFront )

robot_2Generated
code_blocksInput

Description

The MakeActive method is used to set the current SceneEditorSession as the active session. This method can optionally bring the scene tab to the front of the editor interface.

Usage

To use the MakeActive method, call it on an instance of SceneEditorSession. Pass a boolean parameter to determine whether the scene tab should be brought to the front:

  • true - The scene tab will be brought to the front.
  • false - The scene tab will not be brought to the front.

Example

// Example of using MakeActive method
Editor.SceneEditorSession session = new Editor.SceneEditorSession();

// Make this session active and bring it to the front
session.MakeActive(true);

// Make this session active without bringing it to the front
session.MakeActive(false);