summaryrefslogtreecommitdiff
path: root/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs')
-rw-r--r--Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs b/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
new file mode 100644
index 00000000..f75624e0
--- /dev/null
+++ b/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
@@ -0,0 +1,31 @@
+// Cristian Pop - https://boxophobic.com/
+
+using UnityEngine;
+
+namespace Boxophobic.StyledGUI
+{
+ public class StyledMessage : PropertyAttribute
+ {
+ public string Type;
+ public string Message;
+ public float Top;
+ public float Down;
+
+ public StyledMessage(string Type, string Message)
+ {
+ this.Type = Type;
+ this.Message = Message;
+ this.Top = 0;
+ this.Down = 0;
+ }
+
+ public StyledMessage(string Type, string Message, float Top, float Down)
+ {
+ this.Type = Type;
+ this.Message = Message;
+ this.Top = Top;
+ this.Down = Down;
+ }
+ }
+}
+