ドキュメント

Unity Engine

Unity Engine

IsAvailable()

Checks whether the custom editor tool is available based on the state of the editor. Unavailable tools are displayed as disabled in the Scene view's Tools overlay.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public virtual bool IsAvailable()

Returns

Type

Description

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

Remarks

Refer toToolManager.RefreshAvailableTools for an example.