文档

Unity Engine

Download Unity

Unity Engine

TypedUxmlAttributeDescription<T>

Base class for all the UXML specific attributes.
阅读时间1 分钟最后更新于 2 个月前

Definition

警告
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public abstract class TypedUxmlAttributeDescription<T> : UxmlAttributeDescription

Properties

Property

Description

defaultValueThe default value to be used for that specific attribute.
defaultValueAsStringThe string representation of the default value of the UXML attribute.

Methods

Method

Description

GetValueFromBagUse this method to obtain the actual value of the attribute.

Inheritance