After the data changes, if the data is out of range, it is automatically corrected to the limited max value
[MaxValue(10)] public int IntMax10;
Limit range supports type: int, float or reference another property Supports property type: int, float, Vector2, Vector3, Vector4, Vector2Int, Vector3Int