TypedUxmlAttributeDescription<T>
Base class for all the UXML specific attributes.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: UxmlAttributeDescription
public abstract class TypedUxmlAttributeDescription<T> : UxmlAttributeDescription
Properties
Property | Description |
|---|---|
| defaultValue | The default value to be used for that specific attribute. |
| defaultValueAsString | The string representation of the default value of the UXML attribute. |
Methods
Method | Description |
|---|---|
| GetValueFromBag | Use this method to obtain the actual value of the attribute. |