文档

Unity Engine

Unity Engine

IsActiveTool(EditorTool)

Test if an EditorTool is currently the active tool.
阅读时间1 分钟最后更新于 1 个月前

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.