Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsActiveTool(EditorTool)

Test if an EditorTool is currently the active tool.
Read time 1 minuteLast updated 5 days ago

Definition

public static bool IsActiveTool(EditorTool tool)

Parameters

The EditorTool to compare with the active tool.

Returns

Type

Description

boolReturns true if the tool is active, false if it is not the active tool.