UxmlValueMatches
Restricts the value of an attribute to match a regular expression.
阅读时间1 分钟最后更新于 1 个月前
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. |