This version of Unity is unsupported.

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.