title: In Unity how to make a public float or int variable not be able to have a negative input by the user
body: <p>I am currently in the process of putting some Assets in the Unity Asset store and as I was going over displaying errors made by the user for inputs for public variables.  One of them is them being able to choose the camera width and height and I do not want them to have the option to put in a negative number. The closest thing I could find was [Range(x,y)] but then this changes my variable input in the inspector to a slider which I do not want.  </p>
  
  <p>I know I can always just check if its negative through code and then tell the user through Debug but I feel if I don't even let the user place negative numbers in the first place this will save a check and less code.</p>
  
  <p>Anyone have any ideas or am I basically stuck with checking and letting them know through Debug?</p>