public static bool IsActiveTool (EditorTools.EditorTool tool);

Parameters

toolThe EditorTool to compare with the active tool.

Returns

bool Returns true if the tool is active, false if it is not the active tool.

Description

Test if an EditorTool is currently the active tool.