Class UxmlEnumAttributeDescription<T>
Inheritance
UxmlEnumAttributeDescription<T>
Assembly: UnityEngine.dll
Syntax
public class UxmlEnumAttributeDescription<T> : UxmlAttributeDescription where T : struct, IConvertible
Type Parameters
Constructors
|
Improve this Doc
View Source
UxmlEnumAttributeDescription()
Declaration
public UxmlEnumAttributeDescription()
Properties
|
Improve this Doc
View Source
defaultValue
Declaration
public T defaultValue { get; set; }
Property Value
|
Improve this Doc
View Source
defaultValueAsString
Declaration
public override string defaultValueAsString { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
GetValueFromBag(IUxmlAttributes)
Declaration
[Obsolete("Pass a creation context to the method.")]
public T GetValueFromBag(IUxmlAttributes bag)
Parameters
Returns
|
Improve this Doc
View Source
GetValueFromBag(IUxmlAttributes, CreationContext)
Declaration
public T GetValueFromBag(IUxmlAttributes bag, CreationContext cc)
Parameters
Returns
Extension Methods