Exemplo n.º 1
0
        public override void RecycleSelf()
        {
            base.RecycleSelf();

            if (_shouldRecycleTween && MrTween.CacheFloatTweens)
            {
                QuickCache <FloatTween> .Push(this);
            }
        }
Exemplo n.º 2
0
 public override void RecycleSelf()
 {
     if (_shouldRecycleTween)
     {
         _target    = null;
         _nextTween = null;
         _transform = null;
         QuickCache <TransformVector3Tween> .Push(this);
     }
 }
Exemplo n.º 3
0
        public override void RecycleSelf()
        {
            _unfilteredElapsedTime = _elapsedTime = _initialDelay = _repeatDelay = 0f;
            _isPaused         = _isCurrentlyManagedByMrTween = _repeats = _isTimeScaleIndependent = false;
            Context           = null;
            _action           = null;
            _continueWithTask = _waitForTask = null;

            QuickCache <ActionTask> .Push(this);
        }