summaryrefslogtreecommitdiff
path: root/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-11-26 20:52:34 +0800
committerchai <chaifix@163.com>2020-11-26 20:52:34 +0800
commit5b158af90739dcbb89c1538a6cb8c65a875dce80 (patch)
treef0437fff6efaab91ac850152a08aef288d572aab /Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs
parentbc4d5201fc537f70cdcb576b57aaeb5d96527112 (diff)
*misc
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;
+ }
+ }
+}
+