Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.enabledInHierarchy

マニュアルに切り替える
public bool enabledInHierarchy ;

説明

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.