Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TypedUxmlAttributeDescription<T>

Base class for all the UXML specific attributes.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
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