The Tools
property of the EditorTool
class provides access to a collection of editor tools that are available for use within the editor environment. This property returns an IEnumerable<EditorTool>
, allowing iteration over the set of tools.
The Tools
property of the EditorTool
class provides access to a collection of editor tools that are available for use within the editor environment. This property returns an IEnumerable<EditorTool>
, allowing iteration over the set of tools.
Use the Tools
property to retrieve all the editor tools that are currently available. This can be useful for dynamically accessing and managing tools within the editor, such as enabling or disabling specific tools based on user interaction or other conditions.
// Example of iterating over available editor tools EditorTool editorTool = new EditorTool(); foreach (var tool in editorTool.Tools) { // Perform operations with each tool tool.OnEnabled(); }