StyledInteractive.cs 469 B

123456789101112131415161718192021222324252627
  1. // Cristian Pop - https://boxophobic.com/
  2. using UnityEngine;
  3. namespace Boxophobic.StyledGUI
  4. {
  5. public class StyledInteractive : PropertyAttribute
  6. {
  7. public int value;
  8. public string keyword;
  9. public int type;
  10. public StyledInteractive(int v)
  11. {
  12. type = 0;
  13. value = v;
  14. }
  15. public StyledInteractive(string k)
  16. {
  17. type = 1;
  18. keyword = k;
  19. }
  20. }
  21. }