Description
The Destroy
method is a virtual method of the SceneEditorSession
class. It is used to clean up and release resources associated with the current scene editor session. This method should be called when the session is no longer needed, ensuring that any allocated resources are properly disposed of.
Usage
To use the Destroy
method, simply call it on an instance of SceneEditorSession
when you are finished with the session. This will ensure that all resources are released and the session is properly terminated.
Example
// Example of using the Destroy method
// Assume 'session' is an instance of SceneEditorSession
session.Destroy();
// After calling Destroy, the session should not be used further.