Esempio n. 1
0
 public void addTween(object o, string property_name, float startVal, float endVal, int duration, TransitionType transitionType, AnimationComplete _completeHandler = null, AnimationUpdate _updateHandler = null)
 {
     TweenData tween = new TweenData(o, property_name, startVal, endVal, duration, transitionType, _completeHandler, _updateHandler);
     this.addTween(tween);
 }
Esempio n. 2
0
        public void addTween(TweenData tween)
        {
            tween.start();

            if (!_tweenQueue.ContainsKey(tween.Object))
                _tweenQueue.Add(tween.Object, tween);
            else
                _tweenQueue[tween.Object] = tween;

            _animating = true;
        }