文档

Unity Engine

Unity Engine

enabledInHierarchy

Returns true if the VisualElement is enabled in its own hierarchy.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool enabledInHierarchy { get; }

Remarks

This flag verifies if the element is enabled globally. A parent disabling its child VisualElement affects this variable.