Documentation

Unity Engine

Download Unity

Unity Engine

enabledSelf

Returns true if the VisualElement is enabled locally.
Read time 1 minuteLast updated a day 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 VisualElement.enabledInHierarchy.