Esempio n. 1
0
    void Awake()
    {
        Curve         curve = new ExponentialCurve(power);
        Tween <float> tween = new RotationTween(start, end);

        animator = new CurvedAnimation <float>(
            curve: curve, tween: tween, duration: duration
            );
    }
Esempio n. 2
0
 public IList <short> UpdateExponentialCurve(short coefficient)
 {
     ExponentialCurve.Update(coefficient);
     return(ExponentialCurve.LookupTable.ToList());
 }