Version: 2019.4
public static bool IsActiveTool (EditorTools.EditorTool tool);

パラメーター

toolThe EditorTool to compare with the active tool.

戻り値

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

説明

Test if an EditorTool is currently the active tool.