Class ValidateRangeAttribute
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Attribute used to mark fields that should have a specific range.
[AttributeUsage(AttributeTargets.Field)]
[Version(4, 3, 0)]
public class ValidateRangeAttribute : ValidationAttribute
- Inheritance
-
ValidateRangeAttribute
- Inherited Members
- Extension Methods
Remarks
Constructors
Methods
- Constrain(SerializedProperty)
Constrains the property to be within the specified range.
- IsValid(SerializedProperty)
Checks if the property is within the specified range.