iTween.easeInOutCirc C# (CSharp) Method

easeInOutCirc() private method

private easeInOutCirc ( float start, float end, float value ) : float
start float
end float
value float
return float
    private float easeInOutCirc(float start, float end, float value)
    {
        value /= .5f;
        end -= start;
        if (value < 1) return -end / 2 * (Mathf.Sqrt(1 - value * value) - 1) + start;
        value -= 2;
        return end / 2 * (Mathf.Sqrt(1 - value * value) + 1) + start;
    }
iTween