This version of Unity is unsupported.

EditorTool.IsAvailable

Declaration

public bool IsAvailable();

Returns

bool Returns true if the custom editor tool is available. Returns false otherwise.

Description

Checks whether the custom editor tool is available based on the state of the editor.