The Manager
property of the EditorTool
class provides access to the EditorToolManager
instance associated with the tool. This manager is responsible for handling the lifecycle and operations of editor tools within the Sandbox environment.
The Manager
property of the EditorTool
class provides access to the EditorToolManager
instance associated with the tool. This manager is responsible for handling the lifecycle and operations of editor tools within the Sandbox environment.
Use the Manager
property to interact with the EditorToolManager
for tasks such as registering or unregistering tools, managing tool states, and accessing tool-related functionalities.
// Example of accessing the Manager property in an EditorTool public class MyCustomTool : EditorTool { public void SomeFunction() { // Access the EditorToolManager through the Manager property var toolManager = this.Manager; // Use the toolManager to perform operations // For example, checking if a specific tool is active bool isActive = toolManager.IsToolActive(this); } }