mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
Renamed DOMixedMove to DOBlendableMove
This commit is contained in:
parent
a7458f0445
commit
f2dd1a44d9
@ -1021,17 +1021,17 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableLocalMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1021,17 +1021,17 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableLocalMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1021,17 +1021,17 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableLocalMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -5,30 +5,11 @@ using System.Collections;
|
||||
|
||||
public class Temp : BrainBase
|
||||
{
|
||||
public Image img;
|
||||
Sequence _seq;
|
||||
|
||||
void Start()
|
||||
{
|
||||
Debug.Log("START");
|
||||
_seq = DOTween.Sequence().SetId("SEQ");
|
||||
_seq.Append(img.DOFade(1, 0.5f));
|
||||
_seq.AppendInterval(3f);
|
||||
_seq.Append(img.DOFade(0, 0.5f));
|
||||
_seq.AppendCallback(BalloonComplete);
|
||||
// _seq.OnComplete(BalloonComplete);
|
||||
}
|
||||
|
||||
void BalloonComplete()
|
||||
{
|
||||
Debug.Log("Complete");
|
||||
_seq.Rewind();
|
||||
Debug.Log("Rewind called");
|
||||
}
|
||||
|
||||
public void Goforit()
|
||||
{
|
||||
Debug.Log("GO");
|
||||
_seq.Restart();
|
||||
Debug.Log("Creating empty sequences");
|
||||
for (int i = 0; i < 100; ++i) {
|
||||
DOTween.Sequence();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -21,7 +21,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.335";
|
||||
public static readonly string Version = "1.0.336";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -379,13 +379,13 @@ namespace DG.Tweening
|
||||
.SetOptions(AxisConstraint.Z, snapping).SetTarget(target);
|
||||
}
|
||||
|
||||
/// <summary>Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
/// in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
/// <summary>EXPERIMENTAL BETA: Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
/// in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
/// instead than fight each other as multiple DOMove would do.
|
||||
/// Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
public static Tweener DOMixedMoveBy(this Transform target, Vector3 byValue, float duration, bool snapping = false)
|
||||
public static Tweener DOBlendableMoveBy(this Transform target, Vector3 byValue, float duration, bool snapping = false)
|
||||
{
|
||||
Vector3 to = Vector3.zero;
|
||||
return DOTween.To(() => to, x => {
|
||||
@ -396,13 +396,13 @@ namespace DG.Tweening
|
||||
.SetOptions(snapping).SetTarget(target);
|
||||
}
|
||||
|
||||
/// <summary>Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
/// in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
/// <summary>EXPERIMENTAL BETA: Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
/// in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
/// instead than fight each other as multiple DOMove would do.
|
||||
/// Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
public static Tweener DOLocalMixedMoveBy(this Transform target, Vector3 byValue, float duration, bool snapping = false)
|
||||
public static Tweener DOBlendableLocalMoveBy(this Transform target, Vector3 byValue, float duration, bool snapping = false)
|
||||
{
|
||||
Vector3 to = Vector3.zero;
|
||||
return DOTween.To(() => to, x => {
|
||||
|
||||
@ -1021,17 +1021,17 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's position BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalMixedMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOMixedMoveBy tweens to work together on the same target,
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableLocalMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||
<summary>EXPERIMENTAL BETA: Tweens a Transform's localPosition BY the given value (as if it was set to relative),
|
||||
in a way that allows other DOBlendableMove tweens to work together on the same target,
|
||||
instead than fight each other as multiple DOMove would do.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="byValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user