IsActiveTool(EditorTool)
Test if an EditorTool is currently the active tool.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor
public static bool IsActiveTool(EditorTool tool)
Parameters
The EditorTool to compare with the active tool.
Returns
Type | Description |
|---|---|
| bool | Returns true if the tool is active, false if it is not the active tool. |