Esempio n. 1
0
        public TweenChain appendTween(ITweenable tween)
        {
            // make sure we have a legit ITweenable
            if (tween is ITweenable)
            {
                tween.resume();
                _tweenList.Add(tween as ITweenable);
            }
            else
            {
                Debug.LogError("attempted to add a tween that does not implement ITweenable to a TweenChain!");
            }

            return(this);
        }
Esempio n. 2
0
        public TweenChain appendTween( ITweenable tween )
        {
            // make sure we have a legit ITweenable
            if( tween is ITweenable )
            {
                tween.resume();
                _tweenList.Add( tween as ITweenable );
            }
            else
            {
                Debug.LogError( "attempted to add a tween that does not implement ITweenable to a TweenChain!" );
            }

            return this;
        }