Пример #1
0
        public bool MoveNext()
        {
            bool isDone = false;

            if (_tween.IsPlaying)
            {
                isDone = _tween.Tick(_ticker.Time);
            }
            if (isDone)
            {
                _tween.TickerRemoved();
            }
            return(!isDone);
        }
Пример #2
0
        public bool MoveNext()
        {
            bool isDone = true;

            if (_tween != null)
            {
                if (_tween.IsPlaying)
                {
                    isDone = _tween.Tick(_ticker.Time);
                }
                if (_tween == null)
                {
                    isDone = true;
                }
                else
                if (isDone)
                {
                    _tween.TickerRemoved();
                }
            }
            return(!isDone);
        }