MinMaxRangeAttribute.cs 320 B

12345678910111213141516
  1. namespace VRTK
  2. {
  3. using UnityEngine;
  4. public class MinMaxRangeAttribute : PropertyAttribute
  5. {
  6. public readonly float max;
  7. public readonly float min;
  8. public MinMaxRangeAttribute(float min, float max)
  9. {
  10. this.min = min;
  11. this.max = max;
  12. }
  13. }
  14. }