Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UxmlTypeAttributeDescription<TBase>

Describes an XML System.Type attribute.
Read time 1 minuteLast updated 13 days ago

Definition

public class UxmlTypeAttributeDescription<TBase> : TypedUxmlAttributeDescription<Type>

Constructors

Constructor

Description

UxmlTypeAttributeDescription`1()Constructor.

Properties

Property

Description

defaultValueAsStringThe default value for the attribute, as a string.

Methods

Method

Description

GetValueFromBagMethod that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue.
TryGetValueFromBagMethod that tries to retrieve an attribute's value from an attribute bag.. Returns true if it is found, otherwise returns false.

Inheritance