mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 01:06:02 +08:00
[BUGFIX] Fixed DOTween.KillAll ignoring the extra exclusions parameter
This commit is contained in:
parent
63065aa105
commit
f6938af087
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d3e15b806a8368742ba6f10e794d7b76
|
||||
timeCreated: 1534502369
|
||||
timeCreated: 1534924333
|
||||
licenseType: Pro
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
|
||||
Binary file not shown.
@ -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));
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@ -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;
|
||||
|
||||
@ -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.
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