UxmlValueMatches
Restricts the value of an attribute to match a regular expression.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: UxmlTypeRestriction
- Implements: IEquatable<UxmlTypeRestriction>
public class UxmlValueMatches : UxmlTypeRestriction, IEquatable<UxmlTypeRestriction>
Properties
Property | Description |
|---|---|
| regex | The regular expression that should be matched by the value. |
Methods
Method | Description |
|---|---|
| Equals | Indicates whether the current UxmlValueMatches object is equal to another object of the same type. |