summaryrefslogtreecommitdiff
path: root/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.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/StyledInteractive.cs
parentbc4d5201fc537f70cdcb576b57aaeb5d96527112 (diff)
*misc
Diffstat (limited to 'Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.cs')
-rw-r--r--Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.cs b/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.cs
new file mode 100644
index 00000000..8fd73a33
--- /dev/null
+++ b/Assets/BOXOPHOBIC/Utils/Scripts/StyledInspector/StyledInteractive.cs
@@ -0,0 +1,27 @@
+// Cristian Pop - https://boxophobic.com/
+
+using UnityEngine;
+
+namespace Boxophobic.StyledGUI
+{
+ public class StyledInteractive : PropertyAttribute
+ {
+ public int value;
+ public string keyword;
+ public int type;
+
+ public StyledInteractive(int v)
+ {
+ type = 0;
+ value = v;
+ }
+
+ public StyledInteractive(string k)
+ {
+ type = 1;
+ keyword = k;
+ }
+ }
+
+}
+