summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Utils/MinMaxAttribute.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-08-06 19:02:03 +0800
committerchai <chaifix@163.com>2021-08-06 19:02:03 +0800
commit754ceacd8ab62e7094f1827ae45ea16a502725ad (patch)
tree7165384f470bf0c4ae261d7dd22876416c150964 /Assets/Scripts/Utils/MinMaxAttribute.cs
parent35f2e468715e12d93cb88f2258c2d0ae82d1d189 (diff)
*curve
Diffstat (limited to 'Assets/Scripts/Utils/MinMaxAttribute.cs')
-rw-r--r--Assets/Scripts/Utils/MinMaxAttribute.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Assets/Scripts/Utils/MinMaxAttribute.cs b/Assets/Scripts/Utils/MinMaxAttribute.cs
new file mode 100644
index 00000000..bba4087a
--- /dev/null
+++ b/Assets/Scripts/Utils/MinMaxAttribute.cs
@@ -0,0 +1,14 @@
+using UnityEngine;
+
+public class MinMaxSliderAttribute : PropertyAttribute
+{
+
+ public float min;
+ public float max;
+
+ public MinMaxSliderAttribute(float min, float max)
+ {
+ this.min = min;
+ this.max = max;
+ }
+}