ドキュメント

Unity Engine

Unity Engine

enabled

Specifies whether a toolbar element should receive input events. Set to `True` by default.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool enabled { get; set; }

Remarks

For example, the Step button in the Play mode button strip is only active in Play mode. When this button isn't active it doesn't receive input events and appears greyed out.