void Destroy()

robot_2Generated
code_blocksInput

Description

The Destroy method is a virtual method of the SceneEditorSession class. It is responsible for cleaning up and releasing resources associated with the current scene editor session. This method should be called when the session is no longer needed, ensuring that all resources are properly disposed of and that the session is effectively terminated.

Usage

To use the Destroy method, simply call it on an instance of SceneEditorSession when you are finished with the session. This is particularly important to prevent memory leaks and ensure that the application runs efficiently.

Example usage:

var session = new SceneEditorSession();
// Perform operations with the session
...
// Once done, destroy the session
session.Destroy();

Example

var session = new SceneEditorSession();
// Perform operations with the session
...
// Once done, destroy the session
session.Destroy();