mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-10 09:08:43 +08:00
Fixed bug with DORewind and DORestart calling RewindAll and RestartAll instead than per-target operations
This commit is contained in:
parent
36a47e9c7f
commit
2610e8e58a
@ -1270,14 +1270,14 @@
|
||||
and returns the total number of tweens played.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Restarts 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 restarted.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Rewinds 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)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1270,14 +1270,14 @@
|
||||
and returns the total number of tweens played.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Restarts 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 restarted.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Rewinds 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)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1270,14 +1270,14 @@
|
||||
and returns the total number of tweens played.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Restarts 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 restarted.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Rewinds 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)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -21,7 +21,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.437";
|
||||
public static readonly string Version = "1.0.440";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -820,9 +820,9 @@ namespace DG.Tweening
|
||||
/// (meaning tweens that were started from this target, or that had this target added as an Id)
|
||||
/// and returns the total number of tweens restarted.
|
||||
/// </summary>
|
||||
public static int DORestart(this Component target)
|
||||
public static int DORestart(this Component target, bool includeDelay = true)
|
||||
{
|
||||
return DOTween.RestartAll(target);
|
||||
return DOTween.Restart(target, includeDelay);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -830,9 +830,9 @@ namespace DG.Tweening
|
||||
/// (meaning tweens that were started from this target, or that had this target added as an Id)
|
||||
/// and returns the total number of tweens rewinded.
|
||||
/// </summary>
|
||||
public static int DORewind(this Component target)
|
||||
public static int DORewind(this Component target, bool includeDelay = true)
|
||||
{
|
||||
return DOTween.RewindAll(target);
|
||||
return DOTween.Rewind(target, includeDelay);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1270,14 +1270,14 @@
|
||||
and returns the total number of tweens played.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Restarts 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 restarted.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||
<summary>
|
||||
Rewinds 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)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user