enabledInHierarchy
Returns true if the VisualElement is enabled in its own hierarchy.
阅读时间1 分钟最后更新于 25 天前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public bool enabledInHierarchy { get; }
Remarks
This flag verifies if the element is enabled globally. A parent disabling its child VisualElement affects this variable.