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 coordinating tool interactions.
// Example of accessing the Manager property in an EditorTool derived class public class MyCustomTool : EditorTool { public void SomeMethod() { // Access the EditorToolManager through the Manager property EditorToolManager toolManager = this.Manager; // Use the toolManager to perform operations // For example, checking if a specific tool is active bool isActive = toolManager.IsToolActive(this); } }