I discovered attributes in the form of the range attribute. I thought it would restrict the value of an int, but when I try to add to the number to the point where it gets bigger than the max it just lets me. So I guess all it does is add a slider to the inspector. So is restricting the range of a float/int beyond the capabilities of an attribute or am I using it wrong? And if that is beyond its capabilities, what is the point of attributes?
↧