UxmlEnumeration
Restricts the value of an attribute to be taken from a list of values.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: UxmlTypeRestriction
- Implements: IEquatable<UxmlTypeRestriction>
public class UxmlEnumeration : UxmlTypeRestriction, IEquatable<UxmlTypeRestriction>
Properties
Property | Description |
|---|---|
| values | The list of values the attribute can take. |
Methods
Method | Description |
|---|---|
| Equals | Indicates whether the current UxmlEnumeration object is equal to another object of the same type. |