public TweenParty addTween(ITweenControl tween) { tween.resume(); _tweenList.Add(tween); return(this); }
public TweenChain appendTween(ITweenControl 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); }
public TweenParty addTween(ITweenControl tween) { // make sure we have a legit ITweenable if (tween is ITweenable) { // resume gets the tween into Playing mode so we can tick it tween.resume(); _tweenList.Add(tween as ITweenable); } else { Debug.LogError("attempted to add a tween that does not implement ITweenable to a TweenParty!"); } return(this); }