mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-16 20:11:52 +08:00
Fixed double tweens accepting a float endValue instead of a double
This commit is contained in:
parent
47ee71f52e
commit
55bd172cdc
@ -331,7 +331,7 @@
|
|||||||
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Double,System.Single)">
|
||||||
<summary>Tweens a property or field to the given value using default plugins</summary>
|
<summary>Tweens a property or field to the given value using default plugins</summary>
|
||||||
<param name="getter">A getter for the field or property to tween.
|
<param name="getter">A getter for the field or property to tween.
|
||||||
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -331,7 +331,7 @@
|
|||||||
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Double,System.Single)">
|
||||||
<summary>Tweens a property or field to the given value using default plugins</summary>
|
<summary>Tweens a property or field to the given value using default plugins</summary>
|
||||||
<param name="getter">A getter for the field or property to tween.
|
<param name="getter">A getter for the field or property to tween.
|
||||||
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -331,7 +331,7 @@
|
|||||||
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Double,System.Single)">
|
||||||
<summary>Tweens a property or field to the given value using default plugins</summary>
|
<summary>Tweens a property or field to the given value using default plugins</summary>
|
||||||
<param name="getter">A getter for the field or property to tween.
|
<param name="getter">A getter for the field or property to tween.
|
||||||
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -32,7 +32,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.1.010";
|
public static readonly string Version = "1.1.015";
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// Options ////////////////////////////////////
|
||||||
@ -288,7 +288,7 @@ namespace DG.Tweening
|
|||||||
/// <param name="setter">A setter for the field or property to tween
|
/// <param name="setter">A setter for the field or property to tween
|
||||||
/// <para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
/// <para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
||||||
/// <param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
/// <param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
||||||
public static TweenerCore<double, double, NoOptions> To(DOGetter<double> getter, DOSetter<double> setter, float endValue, float duration)
|
public static TweenerCore<double, double, NoOptions> To(DOGetter<double> getter, DOSetter<double> setter, double endValue, float duration)
|
||||||
{ return ApplyTo<double, double, NoOptions>(getter, setter, endValue, duration); }
|
{ return ApplyTo<double, double, NoOptions>(getter, setter, endValue, duration); }
|
||||||
/// <summary>Tweens a property or field to the given value using default plugins</summary>
|
/// <summary>Tweens a property or field to the given value using default plugins</summary>
|
||||||
/// <param name="getter">A getter for the field or property to tween.
|
/// <param name="getter">A getter for the field or property to tween.
|
||||||
|
|||||||
@ -331,7 +331,7 @@
|
|||||||
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
<para>Example usage with lambda:</para><code>x=> myProperty = x</code></param>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The tween's duration</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{System.Double},DG.Tweening.Core.DOSetter{System.Double},System.Double,System.Single)">
|
||||||
<summary>Tweens a property or field to the given value using default plugins</summary>
|
<summary>Tweens a property or field to the given value using default plugins</summary>
|
||||||
<param name="getter">A getter for the field or property to tween.
|
<param name="getter">A getter for the field or property to tween.
|
||||||
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
<para>Example usage with lambda:</para><code>()=> myProperty</code></param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user