Esempio n. 1
0
 public void AddNodule (ATweenNodule p_nodule)
 {
     if (_nodulesList == null)
     {
         _nodulesList = new List<ATweenNodule>();
     }
     _nodulesList.Add(p_nodule);
 }
Esempio n. 2
0
    public static ATweenNodule FloatTo(float p_startValue, float p_endValue, float p_duration, Ease p_ease, Action<float> p_callback)
    {
        ATweenNodule __newTween = new ATweenNodule(p_startValue, p_endValue, p_duration, p_ease, p_callback);

        TweenCore.instance.AddNodule(__newTween);

        return __newTween;
    }