1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 01:36:05 +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 // Fire eventual onKill callbacks
for (int i = 0; i < totActiveTweens; ++i) { for (int i = 0; i < totActiveTweens; ++i) {
Tween t = _activeTweens[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); ClearTweenArray(_activeTweens);

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.