StyledRangeOptions.cs 546 B

123456789101112131415161718192021222324
  1. // Cristian Pop - https://boxophobic.com/
  2. using UnityEngine;
  3. namespace Boxophobic.StyledGUI
  4. {
  5. public class StyledRangeOptions : PropertyAttribute
  6. {
  7. public float min;
  8. public float max;
  9. public string displayLabel;
  10. public string[] options;
  11. public StyledRangeOptions(float min, float max, string displayLabel, string[] options)
  12. {
  13. this.min = min;
  14. this.max = max;
  15. this.displayLabel = displayLabel;
  16. this.options = options;
  17. }
  18. }
  19. }