enabled
Specifies whether a toolbar element should receive input events. Set to `True` by default.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor.CoreModule
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.