public bool IsEnd() { if (_final == null) { return(true); } return(_final.IsEnd()); }
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; } } }
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; } } }
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); }