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:
parent
c09e45a09d
commit
3feaedc77a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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);
|
||||||
|
|||||||
@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user