summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs')
-rw-r--r--Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs b/Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs
new file mode 100644
index 00000000..d5dfe07d
--- /dev/null
+++ b/Client/Assets/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs
@@ -0,0 +1,16 @@
+using BehaviorDesigner.Runtime.Tasks;
+
+namespace BehaviorDesigner.Runtime.ObjectDrawers
+{
+ public class FloatSliderAttribute : ObjectDrawerAttribute
+ {
+ public float min;
+ public float max;
+
+ public FloatSliderAttribute(float min, float max)
+ {
+ this.min = min;
+ this.max = max;
+ }
+ }
+} \ No newline at end of file