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 session's 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 session should be brought to the front:

  • true - The session's tab will be brought to the front.
  • false - The session will be made active without changing the tab order.

Example

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

// Make the session active and bring its tab to the front
session.MakeActive(true);

// Make the session active without bringing its tab to the front
session.MakeActive(false);