mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
Completed all DOJump shortcuts, RectTransform included
This commit is contained in:
parent
24b118f814
commit
155c23d2d9
@ -1059,10 +1059,10 @@
|
||||
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody's X/Z position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
@ -1263,10 +1263,10 @@
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalJump(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's X/Z localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Transform's localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,10 +44,10 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody2D's X position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -123,6 +123,16 @@
|
||||
Setting it to 0 will shake along a single direction.</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJumpAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</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.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Slider's value to the given value.
|
||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1059,10 +1059,10 @@
|
||||
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody's X/Z position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
@ -1263,10 +1263,10 @@
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalJump(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's X/Z localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Transform's localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,10 +44,10 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody2D's X position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -123,6 +123,16 @@
|
||||
Setting it to 0 will shake along a single direction.</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJumpAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</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.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Slider's value to the given value.
|
||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1059,10 +1059,10 @@
|
||||
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody's X/Z position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
@ -1263,10 +1263,10 @@
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalJump(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's X/Z localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Transform's localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,10 +44,10 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody2D's X position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -123,6 +123,16 @@
|
||||
Setting it to 0 will shake along a single direction.</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJumpAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</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.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Slider's value to the given value.
|
||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -32,7 +32,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.735";
|
||||
public static readonly string Version = "1.0.740";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -428,10 +428,10 @@ namespace DG.Tweening
|
||||
|
||||
#region Special
|
||||
|
||||
/// <summary>Tweens a Rigidbody's X/Z position to the given value, while also applying a jump effect along the Y axis.
|
||||
/// <summary>Tweens a Rigidbody's position to the given value, while also applying a jump effect along the Y axis.
|
||||
/// Returns a Sequence instead of a Tweener.
|
||||
/// Also stores the Rigidbody as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
/// <param name="endValue">The end value to reach</param>
|
||||
/// <param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
/// <param name="numJumps">Total number of jumps</param>
|
||||
/// <param name="duration">The duration of the tween</param>
|
||||
@ -811,10 +811,10 @@ namespace DG.Tweening
|
||||
});
|
||||
return s;
|
||||
}
|
||||
/// <summary>Tweens a Transform's X/Z localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
/// <summary>Tweens a Transform's localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
/// Returns a Sequence instead of a Tweener.
|
||||
/// Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
/// <param name="endValue">The end value to reach</param>
|
||||
/// <param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
/// <param name="numJumps">Total number of jumps</param>
|
||||
/// <param name="duration">The duration of the tween</param>
|
||||
|
||||
@ -91,10 +91,10 @@ namespace DG.Tweening
|
||||
|
||||
#region Special
|
||||
|
||||
/// <summary>Tweens a Rigidbody2D's X position to the given value, while also applying a jump effect along the Y axis.
|
||||
/// <summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||
/// Returns a Sequence instead of a Tweener.
|
||||
/// Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="endValue">The X end value to reach, and the Y jump height</param>
|
||||
/// <param name="endValue">The end value to reach</param>
|
||||
/// <param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
/// <param name="numJumps">Total number of jumps</param>
|
||||
/// <param name="duration">The duration of the tween</param>
|
||||
|
||||
@ -248,6 +248,37 @@ namespace DG.Tweening
|
||||
.SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping);
|
||||
}
|
||||
|
||||
#region Special
|
||||
|
||||
/// <summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
/// Returns a Sequence instead of a Tweener.
|
||||
/// Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||
/// <param name="endValue">The end value to reach</param>
|
||||
/// <param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
/// <param name="numJumps">Total number of jumps</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 Sequence DOJumpAnchorPos(this RectTransform target, Vector2 endValue, float jumpPower, int numJumps, float duration, bool snapping = false)
|
||||
{
|
||||
if (numJumps < 1) numJumps = 1;
|
||||
float offsetY = endValue.y - target.anchoredPosition.y;
|
||||
Sequence s = DOTween.Sequence()
|
||||
.Append(DOTween.To(() => target.anchoredPosition, x => target.anchoredPosition = x, new Vector2(endValue.x, 0), duration)
|
||||
.SetOptions(AxisConstraint.X, snapping).SetEase(Ease.Linear)
|
||||
).Join(DOTween.To(() => target.anchoredPosition, x => target.anchoredPosition = x, new Vector2(0, jumpPower), duration / (numJumps * 2))
|
||||
.SetOptions(AxisConstraint.Y, snapping).SetEase(Ease.OutQuad)
|
||||
.SetLoops(numJumps * 2, LoopType.Yoyo)
|
||||
).SetTarget(target).SetEase(DOTween.defaultEaseType);
|
||||
s.OnUpdate(() => {
|
||||
Vector2 pos = target.anchoredPosition;
|
||||
pos.y += DOVirtual.EasedValue(0, offsetY, s.ElapsedDirectionalPercentage(), Ease.OutQuad);
|
||||
target.anchoredPosition = pos;
|
||||
});
|
||||
return s;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region Slider
|
||||
|
||||
@ -1059,10 +1059,10 @@
|
||||
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody's X/Z position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
@ -1263,10 +1263,10 @@
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalJump(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Transform's X/Z localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Transform's localPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X/Z end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,10 +44,10 @@
|
||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Rigidbody2D's X position to the given value, while also applying a jump effect along the Y axis.
|
||||
<summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The X end value to reach, and the Y jump height</param>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</param>
|
||||
<param name="duration">The duration of the tween</param>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -123,6 +123,16 @@
|
||||
Setting it to 0 will shake along a single direction.</param>
|
||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOJumpAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||
<summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||
Returns a Sequence instead of a Tweener.
|
||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||
<param name="endValue">The end value to reach</param>
|
||||
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||
<param name="numJumps">Total number of jumps</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.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||
<summary>Tweens a Slider's value to the given value.
|
||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||
|
||||
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