fix: tween manager not returning the cancelled tweens back into the pool
This commit is contained in:
parent
6adc002f1a
commit
56321864fb
@ -70,6 +70,7 @@ public class TweenManager : UniverseObject, ITweenManager
|
|||||||
tween.State = TweenState.Cancelled;
|
tween.State = TweenState.Cancelled;
|
||||||
coroutineManager.StopCoroutine(runningCoroutine);
|
coroutineManager.StopCoroutine(runningCoroutine);
|
||||||
runningCoroutines.Remove(tween);
|
runningCoroutines.Remove(tween);
|
||||||
|
Return((Tween)tween);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnEnteringUniverse(IUniverse universe)
|
protected override void OnEnteringUniverse(IUniverse universe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user