VisualElement.enabledInHierarchy

public bool enabledInHierarchy;

Description

Returns true if the VisualElement is enabled in its own hierarchy.

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

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答