Exemple #1
0
 public void Update()
 {
     for (int i = 0; i < animList.Count; i++)
     {
         animList[i].executeUpdate();
         if (animList[i].isDone == true)
         {
             TweenScript tweenTmp = animList[i];
             if (!tweenTmp.AnimReplayLogic())
             {
                 animList.Remove(tweenTmp);
                 i--;
                 StackObjectPool <TweenScript> .PutObject(tweenTmp);
             }
             tweenTmp.executeCallBack();
         }
     }
 }