EditorTool.IsAvailable

public bool IsAvailable();

Returns

bool Returns true if this tool is available based on the current state of the editor. Returns false otherwise.

Description 描述

Disables the tool based on the current selection.