public float RandomValue() { return(Interpolation.CurveClamped(curve, outputRange, Random.value)); }
public float Evaluate(float t) { return(Interpolation.CurveClamped(curve, outputRange, MathUtils.PercentBetween(t, inputRange))); }
public float RandomValue() { return(Interpolation.CurveClamped(curve, outputRange, Random.value)); }
public float Evaluate(float t) { return(Interpolation.CurveClamped(curve, outputRange, MathUtils.PercentBetween(t, inputRange))); }