1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 09:16:02 +08:00

[BUGFIX] Fixed DOTween.KillAll ignoring the extra exclusions parameter

This commit is contained in:
Demigiant 2018-08-29 18:16:59 +02:00
parent 63065aa105
commit f6938af087
16 changed files with 12 additions and 16 deletions

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d3e15b806a8368742ba6f10e794d7b76
timeCreated: 1534502369
timeCreated: 1534924333
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

View File

@ -11,22 +11,11 @@ using UnityEngine.UI;
public class TempTests : BrainBase
{
public Transform target0;
public Transform target1;
float initNum = 0;
void OnEnable()
IEnumerator Start()
{
this.StartCoroutine(CreateTweens());
}
IEnumerator CreateTweens()
{
Tween t0 = target0.DOBlendableLocalMoveBy(new Vector3(1, 2, 1), 2f);
Tween t1 = target1.DOBlendableLocalMoveBy(new Vector3(1, -2, 1), 2f);
yield return new WaitForSeconds(1);
t0.Kill();
t1.Goto(1.5f);
DOTween.To(()=>initNum,(x)=>initNum=x,400000000,3f).OnUpdate( ()=> Debug.Log(initNum));
}
}

View File

@ -511,6 +511,13 @@ namespace DG.Tweening.Core
isFilterCompliant = true;
for (int c = 0; c < optionalArrayLen; ++c) {
object objId = optionalArray[c];
if (objId is string) {
useStringId = true;
stringId = (string)objId;
} else if (objId is int) {
useIntId = true;
intId = (int)objId;
}
if (useStringId && t.stringId == stringId) {
isFilterCompliant = false;
break;

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.2.120"; // Last version before modules: 1.1.755
public static readonly string Version = "1.2.125"; // Last version before modules: 1.1.755
///////////////////////////////////////////////
// Options ////////////////////////////////////

Binary file not shown.