summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Utils/MinMaxAttribute.cs
diff options
context:
space:
mode:
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;
+ }
+}