From 754ceacd8ab62e7094f1827ae45ea16a502725ad Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 6 Aug 2021 19:02:03 +0800 Subject: *curve --- Assets/Scripts/Utils/MinMaxAttribute.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Assets/Scripts/Utils/MinMaxAttribute.cs (limited to 'Assets/Scripts/Utils/MinMaxAttribute.cs') 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; + } +} -- cgit v1.1-26-g67d0