diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML
index ed3c17f..e3b2a34 100644
--- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML
+++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML
@@ -523,13 +523,17 @@
Returns a new to be used for tween groups
-
+
Completes all tweens and returns the number of actual tweens completed
(meaning tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
-
+
Completes all tweens with the given ID or target and returns the number of actual tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips all tweens (changing their direction to forward if it was backwards and viceversa),
@@ -903,8 +907,10 @@
Methods that extend Tween objects and allow to control or get data from them
-
+
Completes the tween
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips the direction of this tween (backwards if it was going forward or viceversa)
@@ -1620,13 +1626,15 @@
Also stores the transform as the tween's target so it can be used for filtered operations
The value to tween byThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll
index b0bb158..c43bf96 100644
Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll differ
diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb
index 6ad404e..d94977f 100644
Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb differ
diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll
index 13a2fc3..b37e238 100644
Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll differ
diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb
index b517c01..1bcf84b 100644
Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ
diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml
index 0d524f4..7952aa7 100644
--- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml
+++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml
@@ -17,13 +17,15 @@
Name given to the exposed float to set
The end value to reachThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML
index ed3c17f..e3b2a34 100644
--- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML
+++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML
@@ -523,13 +523,17 @@
Returns a new to be used for tween groups
-
+
Completes all tweens and returns the number of actual tweens completed
(meaning tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
-
+
Completes all tweens with the given ID or target and returns the number of actual tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips all tweens (changing their direction to forward if it was backwards and viceversa),
@@ -903,8 +907,10 @@
Methods that extend Tween objects and allow to control or get data from them
-
+
Completes the tween
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips the direction of this tween (backwards if it was going forward or viceversa)
@@ -1620,13 +1626,15 @@
Also stores the transform as the tween's target so it can be used for filtered operations
The value to tween byThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll
index b0bb158..c43bf96 100644
Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll differ
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb
index 6ad404e..d94977f 100644
Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb differ
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll
index 13a2fc3..b37e238 100644
Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll differ
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb
index b517c01..1bcf84b 100644
Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ
diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml
index 0d524f4..7952aa7 100644
--- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml
+++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml
@@ -17,13 +17,15 @@
Name given to the exposed float to set
The end value to reachThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML
index ed3c17f..e3b2a34 100644
--- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML
+++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML
@@ -523,13 +523,17 @@
Returns a new to be used for tween groups
-
+
Completes all tweens and returns the number of actual tweens completed
(meaning tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
-
+
Completes all tweens with the given ID or target and returns the number of actual tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips all tweens (changing their direction to forward if it was backwards and viceversa),
@@ -903,8 +907,10 @@
Methods that extend Tween objects and allow to control or get data from them
-
+
Completes the tween
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips the direction of this tween (backwards if it was going forward or viceversa)
@@ -1620,13 +1626,15 @@
Also stores the transform as the tween's target so it can be used for filtered operations
The value to tween byThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll
index b0bb158..c43bf96 100644
Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll differ
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb
index 6ad404e..d94977f 100644
Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb differ
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll
index 13a2fc3..b37e238 100644
Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll differ
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb
index b517c01..1bcf84b 100644
Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ
diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml
index 0d524f4..7952aa7 100644
--- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml
+++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml
@@ -17,13 +17,15 @@
Name given to the exposed float to set
The end value to reachThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/UnityTests.Unity5/Assets/Resources/DOTweenSettings.asset b/UnityTests.Unity5/Assets/Resources/DOTweenSettings.asset
index da62bed..5a25358 100644
Binary files a/UnityTests.Unity5/Assets/Resources/DOTweenSettings.asset and b/UnityTests.Unity5/Assets/Resources/DOTweenSettings.asset differ
diff --git a/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs
new file mode 100644
index 0000000..61c71e6
--- /dev/null
+++ b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs
@@ -0,0 +1,23 @@
+using UnityEngine;
+using System.Collections;
+using DG.Tweening;
+
+public class CompleteWithCallbacks : MonoBehaviour
+{
+ public Transform target;
+
+ IEnumerator Start()
+ {
+ Sequence s = DOTween.Sequence();
+ s.AppendCallback(()=> Debug.Log("Start callback"))
+ .Append(target.DOMoveX(3, 1))
+ .AppendCallback(()=> Debug.Log("Mid callback"))
+ .Append(target.DOMoveY(3, 1))
+ .AppendCallback(()=> Debug.Log("End callback"));
+
+ yield return new WaitForSeconds(0.5f);
+
+ Debug.Log("WAITED");
+ s.Complete(true);
+ }
+}
\ No newline at end of file
diff --git a/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs.meta b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs.meta
new file mode 100644
index 0000000..668b41b
--- /dev/null
+++ b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: eda0853a2fbf8574aafcfd9e30d1aa79
+timeCreated: 1438704846
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity
new file mode 100644
index 0000000..9d0e56a
Binary files /dev/null and b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity differ
diff --git a/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity.meta b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity.meta
new file mode 100644
index 0000000..0b74a9d
--- /dev/null
+++ b/UnityTests.Unity5/Assets/_Tests/CompleteWithCallbacks.unity.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: bdca996021e68064fa482c8932e6e105
+timeCreated: 1438704840
+licenseType: Free
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/UnityTests.Unity5/Assets/_Tests/Sequences.cs b/UnityTests.Unity5/Assets/_Tests/Sequences.cs
index 43345de..459f721 100644
--- a/UnityTests.Unity5/Assets/_Tests/Sequences.cs
+++ b/UnityTests.Unity5/Assets/_Tests/Sequences.cs
@@ -115,7 +115,7 @@ public class Sequences : BrainBase
seqPre.Append(seq);
seqPre.PrependInterval(1);
- Sequence mainSeq = DOTween.Sequence().SetUpdate(true).SetLoops(loops, loopType).SetAutoKill(false)
+ Sequence mainSeq = DOTween.Sequence().SetUpdate(false).SetLoops(loops, loopType).SetAutoKill(false)
.SetId("MAIN SEQUENCE")
.OnStart(()=> DGUtils.Log("MAINSequence Start"))
.OnStepComplete(()=> { stepCompleteMS++; DGUtils.Log("MAINSEQUENCE Step Complete"); })
diff --git a/UnityTests.Unity5/Assets/_Tests/TempTests.cs b/UnityTests.Unity5/Assets/_Tests/TempTests.cs
index 1ffe664..d05d6d1 100644
--- a/UnityTests.Unity5/Assets/_Tests/TempTests.cs
+++ b/UnityTests.Unity5/Assets/_Tests/TempTests.cs
@@ -12,12 +12,19 @@ public class TempTests : BrainBase
public Transform target;
public float delay = 0;
- void Start()
+ IEnumerator Start()
{
- DOTween.Sequence()
- .Append(target.DOMoveX(2, 2))
- .Join(target.DOMoveY(2, 2))
- .Append(target.DOScale(2, 2))
- .Join(target.DORotate(new Vector3(0, 0, 180), 2));
+ Vector3[] wps = new[] {
+ new Vector3(-9.9f, -4.9f, 15.0f), new Vector3(-9.9f, -2.4f, 10.0f), new Vector3(-9.9f, 2.7f, 10.0f), new Vector3(-9.9f, 5.2f, 15.0f)
+ };
+ Tween t = target.DOPath(wps, 4).SetEase(Ease.Linear).Pause();
+
+ yield return new WaitForSeconds(1);
+ t.Goto(1);
+ Debug.Log("1 " + target.position);
+
+ yield return new WaitForSeconds(2);
+ t.Goto(2);
+ Debug.Log("2 " + target.position);
}
}
\ No newline at end of file
diff --git a/_DOTween.Assembly/DOTween/Core/TweenManager.cs b/_DOTween.Assembly/DOTween/Core/TweenManager.cs
index 39a985b..c83ddfe 100644
--- a/_DOTween.Assembly/DOTween/Core/TweenManager.cs
+++ b/_DOTween.Assembly/DOTween/Core/TweenManager.cs
@@ -437,7 +437,8 @@ namespace DG.Tweening.Core
break;
case OperationType.Complete:
bool hasAutoKill = t.autoKill;
- if (Complete(t, false)) {
+ // If optionalFloat is > 0 completes with callbacks
+ if (Complete(t, false, optionalFloat > 0 ? UpdateMode.Update : UpdateMode.Goto)) {
// If optionalBool is TRUE only returns tweens killed by completion
totInvolved += !optionalBool ? 1 : hasAutoKill ? 1 : 0;
if (hasAutoKill) {
@@ -500,11 +501,11 @@ namespace DG.Tweening.Core
#region Play Operations
- internal static bool Complete(Tween t, bool modifyActiveLists = true)
+ internal static bool Complete(Tween t, bool modifyActiveLists = true, UpdateMode updateMode = UpdateMode.Goto)
{
if (t.loops == -1) return false;
if (!t.isComplete) {
- Tween.DoGoto(t, t.duration, t.loops, UpdateMode.Goto);
+ Tween.DoGoto(t, t.duration, t.loops, updateMode);
t.isPlaying = false;
// Despawn if needed
if (t.autoKill) {
diff --git a/_DOTween.Assembly/DOTween/DOTween.cs b/_DOTween.Assembly/DOTween/DOTween.cs
index 70dd059..9d57fc5 100644
--- a/_DOTween.Assembly/DOTween/DOTween.cs
+++ b/_DOTween.Assembly/DOTween/DOTween.cs
@@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween
{
/// DOTween's version
- public static readonly string Version = "1.0.805";
+ public static readonly string Version = "1.0.810";
///////////////////////////////////////////////
// Options ////////////////////////////////////
@@ -630,16 +630,20 @@ namespace DG.Tweening
/// Completes all tweens and returns the number of actual tweens completed
/// (meaning tweens that don't have infinite loops and were not already complete)
- public static int CompleteAll()
+ /// For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ /// otherwise they will be ignored
+ public static int CompleteAll(bool withCallbacks = false)
{
- return TweenManager.FilteredOperation(OperationType.Complete, FilterType.All, null, false, 0);
+ return TweenManager.FilteredOperation(OperationType.Complete, FilterType.All, null, false, withCallbacks ? 1 : 0);
}
/// Completes all tweens with the given ID or target and returns the number of actual tweens completed
/// (meaning the tweens that don't have infinite loops and were not already complete)
- public static int Complete(object targetOrId)
+ /// For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ /// otherwise they will be ignored
+ public static int Complete(object targetOrId, bool withCallbacks = false)
{
if (targetOrId == null) return 0;
- return TweenManager.FilteredOperation(OperationType.Complete, FilterType.TargetOrId, targetOrId, false, 0);
+ return TweenManager.FilteredOperation(OperationType.Complete, FilterType.TargetOrId, targetOrId, false, withCallbacks ? 1 : 0);
}
// Used internally to complete a tween and return only the number of killed tweens instead than just the completed ones
// (necessary for Kill(complete) operation. Sets optionalBool to TRUE)
diff --git a/_DOTween.Assembly/DOTween/ShortcutExtensions.cs b/_DOTween.Assembly/DOTween/ShortcutExtensions.cs
index cafdfe3..03aa289 100644
--- a/_DOTween.Assembly/DOTween/ShortcutExtensions.cs
+++ b/_DOTween.Assembly/DOTween/ShortcutExtensions.cs
@@ -1134,9 +1134,11 @@ namespace DG.Tweening
/// and returns the total number of tweens completed
/// (meaning the tweens that don't have infinite loops and were not already complete)
///
- public static int DOComplete(this Component target)
+ /// For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ /// otherwise they will be ignored
+ public static int DOComplete(this Component target, bool withCallbacks = false)
{
- return DOTween.Complete(target);
+ return DOTween.Complete(target, withCallbacks);
}
///
diff --git a/_DOTween.Assembly/DOTween/TweenExtensions.cs b/_DOTween.Assembly/DOTween/TweenExtensions.cs
index 7217807..ddc4512 100644
--- a/_DOTween.Assembly/DOTween/TweenExtensions.cs
+++ b/_DOTween.Assembly/DOTween/TweenExtensions.cs
@@ -6,6 +6,7 @@
using DG.Tweening.Core;
using DG.Tweening.Core.Easing;
+using DG.Tweening.Core.Enums;
using DG.Tweening.Plugins.Core.PathCore;
using DG.Tweening.Plugins.Options;
using UnityEngine;
@@ -24,7 +25,9 @@ namespace DG.Tweening
#region Runtime Operations
/// Completes the tween
- public static void Complete(this Tween t)
+ /// For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ /// otherwise they will be ignored
+ public static void Complete(this Tween t, bool withCallbacks = false)
{
if (t == null) {
if (Debugger.logPriority > 1) Debugger.LogNullTween(t); return;
@@ -34,7 +37,7 @@ namespace DG.Tweening
if (Debugger.logPriority > 1) Debugger.LogNestedTween(t); return;
}
- TweenManager.Complete(t);
+ TweenManager.Complete(t, true, withCallbacks ? UpdateMode.Update : UpdateMode.Goto);
}
/// Flips the direction of this tween (backwards if it was going forward or viceversa)
diff --git a/_DOTween.Assembly/DOTween50/ShortcutExtensions50.cs b/_DOTween.Assembly/DOTween50/ShortcutExtensions50.cs
index 8a3d5be..08aeaef 100644
--- a/_DOTween.Assembly/DOTween50/ShortcutExtensions50.cs
+++ b/_DOTween.Assembly/DOTween50/ShortcutExtensions50.cs
@@ -38,9 +38,11 @@ namespace DG.Tweening
/// and returns the total number of tweens completed
/// (meaning the tweens that don't have infinite loops and were not already complete)
///
- public static int DOComplete(this AudioMixer target)
+ /// For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ /// otherwise they will be ignored
+ public static int DOComplete(this AudioMixer target, bool withCallbacks = false)
{
- return DOTween.Complete(target);
+ return DOTween.Complete(target, withCallbacks);
}
///
diff --git a/_DOTween.Assembly/bin/DOTween.XML b/_DOTween.Assembly/bin/DOTween.XML
index ed3c17f..e3b2a34 100644
--- a/_DOTween.Assembly/bin/DOTween.XML
+++ b/_DOTween.Assembly/bin/DOTween.XML
@@ -523,13 +523,17 @@
Returns a new to be used for tween groups
-
+
Completes all tweens and returns the number of actual tweens completed
(meaning tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
-
+
Completes all tweens with the given ID or target and returns the number of actual tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips all tweens (changing their direction to forward if it was backwards and viceversa),
@@ -903,8 +907,10 @@
Methods that extend Tween objects and allow to control or get data from them
-
+
Completes the tween
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
Flips the direction of this tween (backwards if it was going forward or viceversa)
@@ -1620,13 +1626,15 @@
Also stores the transform as the tween's target so it can be used for filtered operations
The value to tween byThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored
diff --git a/_DOTween.Assembly/bin/DOTween.dll b/_DOTween.Assembly/bin/DOTween.dll
index b0bb158..c43bf96 100644
Binary files a/_DOTween.Assembly/bin/DOTween.dll and b/_DOTween.Assembly/bin/DOTween.dll differ
diff --git a/_DOTween.Assembly/bin/DOTween.dll.mdb b/_DOTween.Assembly/bin/DOTween.dll.mdb
index 6ad404e..d94977f 100644
Binary files a/_DOTween.Assembly/bin/DOTween.dll.mdb and b/_DOTween.Assembly/bin/DOTween.dll.mdb differ
diff --git a/_DOTween.Assembly/bin/DOTween50.dll b/_DOTween.Assembly/bin/DOTween50.dll
index 13a2fc3..b37e238 100644
Binary files a/_DOTween.Assembly/bin/DOTween50.dll and b/_DOTween.Assembly/bin/DOTween50.dll differ
diff --git a/_DOTween.Assembly/bin/DOTween50.dll.mdb b/_DOTween.Assembly/bin/DOTween50.dll.mdb
index b517c01..1bcf84b 100644
Binary files a/_DOTween.Assembly/bin/DOTween50.dll.mdb and b/_DOTween.Assembly/bin/DOTween50.dll.mdb differ
diff --git a/_DOTween.Assembly/bin/DOTween50.xml b/_DOTween.Assembly/bin/DOTween50.xml
index 0d524f4..7952aa7 100644
--- a/_DOTween.Assembly/bin/DOTween50.xml
+++ b/_DOTween.Assembly/bin/DOTween50.xml
@@ -17,13 +17,15 @@
Name given to the exposed float to set
The end value to reachThe duration of the tween
-
+
Completes all tweens that have this target as a reference
(meaning tweens that were started from this target, or that had this target added as an Id)
and returns the total number of tweens completed
(meaning the tweens that don't have infinite loops and were not already complete)
+ For Sequences only: if TRUE also internal Sequence callbacks will be fired,
+ otherwise they will be ignored