Version: 2021.1

UxmlHash128AttributeDescription

class in UnityEngine.UIElements

/

继承自:UIElements.TypedUxmlAttributeDescription_1

切换到手册

描述

Describes a UXML attribute that represents a Hash128 as a string.

变量

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

构造函数

UxmlHash128AttributeDescription构造函数。

公共函数

GetValueFromBagThis method retrieves the value of the attribute from the attribute bag. If the it finds the attribute, it returns the attribute. If it does not find the attribute, it returns defaultValue.
TryGetValueFromBagThis method tries to retrieve the value of the attribute from the attribute bag. If it finds the attribute, it returns true. Otherwise, it returns false.

继承的成员

变量

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

受保护的函数

GetValueFromBag从属性包中获取属性值。
TryGetValueFromBag尝试从属性包中获取属性值。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961