public static addTween ( ITweenable tween ) : void | ||
tween | ITweenable | Tween. |
리턴 | void |
public virtual void start() { if (!_isFromValueOverridden) { _fromValue = _target.getTweenedValue(); } if (_tweenState == TweenState.Complete) { _tweenState = TweenState.Running; TweenManager.addTween(this); } }
public virtual void start() { // dont add ourself twice! if (_isCurrentlyManagedByTweenManager) { _isPaused = false; return; } TweenManager.addTween(this); _isCurrentlyManagedByTweenManager = true; _isPaused = false; }