void MakeActive( bool bringToFront )

book_4_sparkGenerated
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 will be brought to the front.
  • false - The session will be made active without changing its tab position.

Example

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

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

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