MaxValue

Limits the value of integers and floats to a maximum threshold if exceeded.

Applied on Properties ( Int & Float Only )

[MaxValue(10)]
 public int maxIntValue;

Last updated