From 5b158af90739dcbb89c1538a6cb8c65a875dce80 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 26 Nov 2020 20:52:34 +0800 Subject: *misc --- .../Utils/Scripts/StyledInspector/StyledMessage.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs (limited to 'Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledMessage.cs') 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; + } + } +} + -- cgit v1.1-26-g67d0