Esempio n. 1
0
        public override void recycleSelf()
        {
            base.recycleSelf();

            if (_shouldRecycleTween && ZestKit.cacheFloatTweens)
            {
                QuickCache <FloatTween> .push(this);
            }
        }
Esempio n. 2
0
        public override void recycleSelf()
        {
            _unfilteredElapsedTime = _elapsedTime = _initialDelay = _repeatDelay = 0f;
            _isPaused         = _isCurrentlyManagedByZestKit = _repeats = _isTimeScaleIndependent = false;
            context           = null;
            _action           = null;
            _continueWithTask = _waitForTask = null;

            QuickCache <ActionTask> .push(this);
        }
Esempio n. 3
0
 public override void recycleSelf()
 {
     if (_shouldRecycleTween)
     {
         _target    = null;
         _nextTween = null;
         _transform = null;
         QuickCache <TransformVector3Tween> .push(this);
     }
 }