CurveRangeA curve drawer for AnimationCurve which allow to set bounds and color
Override 1:
Vector2 min = Vector2.zerobottom left for boundsVector2 max = Vector2.onetop right for boundsEColor color = EColor.Greencurve line color
Override 2:
float minX = 0fbottom left x for boundsfloat minY = 0fbottom left y for boundsfloat maxX = 1ftop right x for boundsfloat maxY = 1ftop right y for boundsEColor color = EColor.Greencurve line color
using SaintsField; [CurveRange(-1, -1, 1, 1)] public AnimationCurve curve; [CurveRange(EColor.Orange)] public AnimationCurve curve1; [CurveRange(0, 0, 5, 5, EColor.Red)] public AnimationCurve curve2;

It works with ShowInInspector:
[ShowInInspector, CurveRange(EColor.Orange)] public AnimationCurve ShowCurve1 { get => curve1; set => curve1 = value; }

It works with ShowInInspector/Button parameters and return value
[ShowInInspector] [CurveRange(EColor.Aquamarine)] private AnimationCurve ShowCurveRange([CurveRange(EColor.YellowNice)] AnimationCurve animCurve) => animCurve; [Button] [CurveRange(EColor.Aquamarine)] private AnimationCurve ShowCurveRange([CurveRange(EColor.YellowNice)] AnimationCurve animCurve) => animCurve;
