Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enabledSelf

Returns true if the VisualElement is enabled locally.
Read time 1 minuteLast updated 4 days ago

Definition

[UxmlAttribute("enabled")][Tooltip("Sets the element to disabled which will not accept input. Utilizes the :disabled pseudo state.")]public bool enabledSelf { get; set; }

Remarks

This flag isn't changed if the VisualElement is disabled implicitly by one of its parents. To verify this, use _enabledInHierarchy.