IEnumerable<EditorTool> Tools { get; set; }

robot_2Generated
code_blocksInput

Description

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.

Usage

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, disabling, or configuring them based on specific conditions or user interactions.

Example

// Example of iterating over the available tools in the editor

EditorTool editorTool = new EditorTool();

foreach (var tool in editorTool.Tools)
{
    // Perform operations with each tool
    tool.OnEnabled();
    // Additional logic for each tool
}