Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

UxmlAttributeDescription

class in UnityEngine.Experimental.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Base class for describing an XML attribute.

Properties

defaultValueAsStringThe default value for the attribute, as a string.
nameThe attribute name.
restrictionRestrictions on the possible values of the attribute.
typeAttribute type.
typeNamespaceAttribute namespace.
useWhether the attribute is optional, required or prohibited.

Constructors

UxmlAttributeDescriptionConstructor.

Did you find this page useful? Please give it a rating: