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

UxmlBoolAttributeDescription

class in UnityEngine.Experimental.UIElements

/

继承自:Experimental.UIElements.UxmlAttributeDescription

切换到手册

描述

描述 XML bool 属性。

变量

defaultValue属性的默认值。
defaultValueAsString属性的默认值(字符串)。

构造函数

UxmlBoolAttributeDescription构造函数。

公共函数

GetValueFromBag从属性包中检索此属性的值。如果找到,返回该值,否则返回 defaultValue。

继承的成员

变量

defaultValueAsString属性的默认值(字符串)。
name属性名称。
obsoleteNames此属性的废弃名称列表。
restriction对属性的可能值的限制。
type属性类型。
typeNamespace属性命名空间。
use属性是可选的、必需的还是禁止的。

受保护的函数

GetValueFromBag从属性包中获取属性值。

Did you find this page useful? Please give it a rating: