StyledButton.cs 576 B

12345678910111213141516171819202122232425262728
  1. // Cristian Pop - https://boxophobic.com/
  2. using UnityEngine;
  3. namespace Boxophobic.StyledGUI
  4. {
  5. public class StyledButton : PropertyAttribute
  6. {
  7. public string Text = "";
  8. public float Top = 0;
  9. public float Down = 0;
  10. public StyledButton(string Text)
  11. {
  12. this.Text = Text;
  13. this.Top = 0;
  14. this.Down = 0;
  15. }
  16. public StyledButton(string Text, float Top, float Down)
  17. {
  18. this.Text = Text;
  19. this.Top = Top;
  20. this.Down = Down;
  21. }
  22. }
  23. }