Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enabled

Specifies whether a toolbar element should receive input events. Set to `True` by default.
Read time 1 minuteLast updated 7 days ago

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.