Class UxmlTypeRestriction
Base class to restricts the value of an attribute.
Namespace: UnityEngine.UIElements
Syntax
public abstract class UxmlTypeRestriction : IEquatable<UxmlTypeRestriction>
Methods
Equals(UxmlTypeRestriction)
Indicates whether the current UxmlTypeRestriction object is equal to another object of the same type.
Declaration
public virtual bool Equals(UxmlTypeRestriction other)
Parameters
Type | Name | Description |
---|---|---|
UxmlTypeRestriction | other | The object to compare with. |
Returns
Type | Description |
---|---|
Boolean | True if the otheer object is equal to this one. |