1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00

Finally fixed error which was captured but generated an "Error in RemoveActiveTween..." warning

This commit is contained in:
Demigiant 2016-06-16 19:33:17 +02:00
parent c09e45a09d
commit 3feaedc77a
42 changed files with 5 additions and 2 deletions

View File

@ -255,7 +255,10 @@ namespace DG.Tweening.Core
// Fire eventual onKill callbacks
for (int i = 0; i < totActiveTweens; ++i) {
Tween t = _activeTweens[i];
if (t != null && t.onKill != null) Tween.OnTweenCallback(t.onKill);
if (t != null) {
t.active = false;
if (t.onKill != null) Tween.OnTweenCallback(t.onKill);
}
}
ClearTweenArray(_activeTweens);

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.1.300";
public static readonly string Version = "1.1.310";
///////////////////////////////////////////////
// Options ////////////////////////////////////

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.