mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-12 10:08:46 +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.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Restarts all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens restarted.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Rewinds all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Restarts all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens restarted.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Rewinds all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Restarts all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens restarted.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Rewinds all tweens that have this target as a reference
|
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)
|
(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
|
public class DOTween
|
||||||
{
|
{
|
||||||
/// <summary>DOTween's version</summary>
|
/// <summary>DOTween's version</summary>
|
||||||
public static readonly string Version = "1.0.437";
|
public static readonly string Version = "1.0.440";
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// 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)
|
/// (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.
|
/// and returns the total number of tweens restarted.
|
||||||
/// </summary>
|
/// </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>
|
/// <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)
|
/// (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.
|
/// and returns the total number of tweens rewinded.
|
||||||
/// </summary>
|
/// </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>
|
/// <summary>
|
||||||
|
|||||||
@ -1270,14 +1270,14 @@
|
|||||||
and returns the total number of tweens played.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Restarts all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens restarted.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Component,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Rewinds all tweens that have this target as a reference
|
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)
|
(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