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

UxmlAttributeDescription

class in UnityEngine.Experimental.UIElements

切换到手册

描述

用于描述 XML 属性的基类。

变量

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

构造函数

UxmlAttributeDescription构造函数。