Exemple #1
0
 public bool IsEnd()
 {
     if (_final == null)
     {
         return(true);
     }
     return(_final.IsEnd());
 }
Exemple #2
0
 override public void Update(float time)
 {
     for (int i = 0, count = _lst.Count; i < count; ++i)
     {
         TweenBase t = _lst[i];
         if (!t.IsEnd())
         {
             t.Update(time);
             if (t.IsEnd() && !_isStop)
             {
                 BeginNext(i + 1, time);
             }
             break;
         }
     }
 }
Exemple #3
0
 void BeginNext(int idx, float time)
 {
     for (int i = idx, count = _lst.Count; i < count; ++i)
     {
         TweenBase t = _lst[i];
         t.OnBegin(time);
         if (!t.IsEnd())
         {
             break;
         }
     }
 }
Exemple #4
0
        override public bool IsEnd()
        {
            for (int i = 0, count = _lst.Count; i < count; ++i)
            {
                TweenBase t = _lst[i];
                if (!t.IsEnd())
                {
                    return(false);
                }
            }

            return(true);
        }