diff options
author | chai <chaifix@163.com> | 2020-11-26 20:52:34 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-26 20:52:34 +0800 |
commit | 5b158af90739dcbb89c1538a6cb8c65a875dce80 (patch) | |
tree | f0437fff6efaab91ac850152a08aef288d572aab /Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledButton.cs | |
parent | bc4d5201fc537f70cdcb576b57aaeb5d96527112 (diff) |
*misc
Diffstat (limited to 'Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledButton.cs')
-rw-r--r-- | Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledButton.cs | 28 |
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;
+ }
+ }
+}
+
|