文档

Unity Engine

Download Unity

Unity Engine

enabledSelf

Returns true if the VisualElement is enabled locally.
阅读时间1 分钟最后更新于 20 天前

Definition

[Tooltip("Sets the element to disabled which will not accept input. Utilizes the :disabled pseudo state.")][UxmlAttribute("enabled")]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.