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