StyledMessage.cs 701 B

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