UxmlEnumeration
Restricts the value of an attribute to be taken from a list of values.
阅读时间1 分钟最后更新于 1 个月前
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. |