mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
Implemented Color/Color32 surrogate that works on WP8.1
This commit is contained in:
parent
62fa66e5fa
commit
b4648112eb
@ -35,6 +35,12 @@
|
|||||||
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
||||||
<summary>2D side-scroller path</summary>
|
<summary>2D side-scroller path</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector2Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.TweenType">
|
<member name="T:DG.Tweening.TweenType">
|
||||||
<summary>
|
<summary>
|
||||||
Used internally
|
Used internally
|
||||||
@ -532,29 +538,29 @@
|
|||||||
<summary>Options for float tweens</summary>
|
<summary>Options for float tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
@ -564,7 +570,7 @@
|
|||||||
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
||||||
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
||||||
<summary>Options for Color tweens</summary>
|
<summary>Options for Color tweens</summary>
|
||||||
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
||||||
</member>
|
</member>
|
||||||
@ -1304,6 +1310,12 @@
|
|||||||
and returns the total number of tweens involved.
|
and returns the total number of tweens involved.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector3Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.PathType">
|
<member name="T:DG.Tweening.PathType">
|
||||||
<summary>
|
<summary>
|
||||||
Type of path to use with DOPath tweens
|
Type of path to use with DOPath tweens
|
||||||
@ -1484,7 +1496,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{UnityEngine.Vector2},DG.Tweening.Core.DOSetter{UnityEngine.Vector2},UnityEngine.Vector2,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},UnityEngine.Vector2,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>
|
||||||
@ -1492,7 +1504,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{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},UnityEngine.Vector3,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},UnityEngine.Vector3,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>
|
||||||
@ -1500,7 +1512,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{UnityEngine.Vector4},DG.Tweening.Core.DOSetter{UnityEngine.Vector4},UnityEngine.Vector4,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},UnityEngine.Vector4,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>
|
||||||
@ -1516,7 +1528,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{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},UnityEngine.Color,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>
|
||||||
@ -1551,7 +1563,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.ToAxis(DG.Tweening.Core.DOGetter{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
<member name="M:DG.Tweening.DOTween.ToAxis(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
||||||
<summary>Tweens only one axis of a Vector3 to the given value using default plugins.</summary>
|
<summary>Tweens only one axis of a Vector3 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>
|
||||||
@ -1560,7 +1572,7 @@
|
|||||||
<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>
|
||||||
<param name="axisConstraint">The axis to tween</param>
|
<param name="axisConstraint">The axis to tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},System.Single,System.Single)">
|
||||||
<summary>Tweens only the alpha of a Color to the given value using default plugins</summary>
|
<summary>Tweens only the alpha of a Color 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>
|
||||||
@ -1821,6 +1833,12 @@
|
|||||||
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
||||||
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector4Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.Tweener">
|
<member name="T:DG.Tweening.Tweener">
|
||||||
<summary>
|
<summary>
|
||||||
Animates a single value
|
Animates a single value
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -35,6 +35,12 @@
|
|||||||
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
||||||
<summary>2D side-scroller path</summary>
|
<summary>2D side-scroller path</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector2Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.TweenType">
|
<member name="T:DG.Tweening.TweenType">
|
||||||
<summary>
|
<summary>
|
||||||
Used internally
|
Used internally
|
||||||
@ -532,29 +538,29 @@
|
|||||||
<summary>Options for float tweens</summary>
|
<summary>Options for float tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
@ -564,7 +570,7 @@
|
|||||||
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
||||||
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
||||||
<summary>Options for Color tweens</summary>
|
<summary>Options for Color tweens</summary>
|
||||||
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
||||||
</member>
|
</member>
|
||||||
@ -1304,6 +1310,12 @@
|
|||||||
and returns the total number of tweens involved.
|
and returns the total number of tweens involved.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector3Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.PathType">
|
<member name="T:DG.Tweening.PathType">
|
||||||
<summary>
|
<summary>
|
||||||
Type of path to use with DOPath tweens
|
Type of path to use with DOPath tweens
|
||||||
@ -1484,7 +1496,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{UnityEngine.Vector2},DG.Tweening.Core.DOSetter{UnityEngine.Vector2},UnityEngine.Vector2,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},UnityEngine.Vector2,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>
|
||||||
@ -1492,7 +1504,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{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},UnityEngine.Vector3,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},UnityEngine.Vector3,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>
|
||||||
@ -1500,7 +1512,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{UnityEngine.Vector4},DG.Tweening.Core.DOSetter{UnityEngine.Vector4},UnityEngine.Vector4,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},UnityEngine.Vector4,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>
|
||||||
@ -1516,7 +1528,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{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},UnityEngine.Color,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>
|
||||||
@ -1551,7 +1563,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.ToAxis(DG.Tweening.Core.DOGetter{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
<member name="M:DG.Tweening.DOTween.ToAxis(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
||||||
<summary>Tweens only one axis of a Vector3 to the given value using default plugins.</summary>
|
<summary>Tweens only one axis of a Vector3 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>
|
||||||
@ -1560,7 +1572,7 @@
|
|||||||
<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>
|
||||||
<param name="axisConstraint">The axis to tween</param>
|
<param name="axisConstraint">The axis to tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},System.Single,System.Single)">
|
||||||
<summary>Tweens only the alpha of a Color to the given value using default plugins</summary>
|
<summary>Tweens only the alpha of a Color 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>
|
||||||
@ -1821,6 +1833,12 @@
|
|||||||
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
||||||
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector4Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.Tweener">
|
<member name="T:DG.Tweening.Tweener">
|
||||||
<summary>
|
<summary>
|
||||||
Animates a single value
|
Animates a single value
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -35,6 +35,12 @@
|
|||||||
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
||||||
<summary>2D side-scroller path</summary>
|
<summary>2D side-scroller path</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector2Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.TweenType">
|
<member name="T:DG.Tweening.TweenType">
|
||||||
<summary>
|
<summary>
|
||||||
Used internally
|
Used internally
|
||||||
@ -532,29 +538,29 @@
|
|||||||
<summary>Options for float tweens</summary>
|
<summary>Options for float tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
@ -564,7 +570,7 @@
|
|||||||
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
||||||
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
||||||
<summary>Options for Color tweens</summary>
|
<summary>Options for Color tweens</summary>
|
||||||
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
||||||
</member>
|
</member>
|
||||||
@ -1304,6 +1310,12 @@
|
|||||||
and returns the total number of tweens involved.
|
and returns the total number of tweens involved.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector3Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.PathType">
|
<member name="T:DG.Tweening.PathType">
|
||||||
<summary>
|
<summary>
|
||||||
Type of path to use with DOPath tweens
|
Type of path to use with DOPath tweens
|
||||||
@ -1484,7 +1496,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{UnityEngine.Vector2},DG.Tweening.Core.DOSetter{UnityEngine.Vector2},UnityEngine.Vector2,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},UnityEngine.Vector2,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>
|
||||||
@ -1492,7 +1504,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{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},UnityEngine.Vector3,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},UnityEngine.Vector3,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>
|
||||||
@ -1500,7 +1512,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{UnityEngine.Vector4},DG.Tweening.Core.DOSetter{UnityEngine.Vector4},UnityEngine.Vector4,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},UnityEngine.Vector4,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>
|
||||||
@ -1516,7 +1528,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{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},UnityEngine.Color,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>
|
||||||
@ -1551,7 +1563,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.ToAxis(DG.Tweening.Core.DOGetter{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
<member name="M:DG.Tweening.DOTween.ToAxis(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
||||||
<summary>Tweens only one axis of a Vector3 to the given value using default plugins.</summary>
|
<summary>Tweens only one axis of a Vector3 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>
|
||||||
@ -1560,7 +1572,7 @@
|
|||||||
<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>
|
||||||
<param name="axisConstraint">The axis to tween</param>
|
<param name="axisConstraint">The axis to tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},System.Single,System.Single)">
|
||||||
<summary>Tweens only the alpha of a Color to the given value using default plugins</summary>
|
<summary>Tweens only the alpha of a Color 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>
|
||||||
@ -1821,6 +1833,12 @@
|
|||||||
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
||||||
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector4Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.Tweener">
|
<member name="T:DG.Tweening.Tweener">
|
||||||
<summary>
|
<summary>
|
||||||
Animates a single value
|
Animates a single value
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
66
_DOTween.Assembly/DOTween/Core/Surrogates/ColorSurrogate.cs
Normal file
66
_DOTween.Assembly/DOTween/Core/Surrogates/ColorSurrogate.cs
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
#if WP81
|
||||||
|
// Author: Daniele Giardini - http://www.demigiant.com
|
||||||
|
// Created: 2015/04/15 12:10
|
||||||
|
|
||||||
|
#pragma warning disable 1591
|
||||||
|
namespace DG.Tweening.Core.Surrogates
|
||||||
|
{
|
||||||
|
public struct ColorSurrogate
|
||||||
|
{
|
||||||
|
public float r, g, b, a;
|
||||||
|
|
||||||
|
public ColorSurrogate(float r, float g, float b, float a)
|
||||||
|
{
|
||||||
|
this.r = r;
|
||||||
|
this.g = g;
|
||||||
|
this.b = b;
|
||||||
|
this.a = a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Operations
|
||||||
|
|
||||||
|
public static ColorSurrogate operator +(ColorSurrogate v1, ColorSurrogate v2)
|
||||||
|
{
|
||||||
|
return new ColorSurrogate(v1.r + v2.r, v1.g + v2.g, v1.b + v2.b, v1.a + v2.a);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ColorSurrogate operator -(ColorSurrogate v1, ColorSurrogate v2)
|
||||||
|
{
|
||||||
|
return new ColorSurrogate(v1.r - v2.r, v1.g - v2.g, v1.b - v2.b, v1.a - v2.a);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ColorSurrogate operator *(ColorSurrogate v1, float f)
|
||||||
|
{
|
||||||
|
return new ColorSurrogate(v1.r * f, v1.g * f, v1.b * f, v1.a * f);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Conversions
|
||||||
|
|
||||||
|
public static implicit operator Color(ColorSurrogate v)
|
||||||
|
{
|
||||||
|
return new Color(v.r, v.g, v.b, v.a);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static implicit operator ColorSurrogate(Color v)
|
||||||
|
{
|
||||||
|
return new ColorSurrogate(v.r, v.g, v.b, v.a);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static implicit operator Color32(ColorSurrogate v)
|
||||||
|
{
|
||||||
|
return new Color32((byte)(Mathf.Clamp01(v.r) * 255f), (byte)(Mathf.Clamp01(v.g) * 255f), (byte)(Mathf.Clamp01(v.b) * 255f), (byte)(Mathf.Clamp01(v.a) * 255f));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static implicit operator ColorSurrogate(Color32 v)
|
||||||
|
{
|
||||||
|
return new ColorSurrogate((float)v.r / 255f, (float)v.g / 255f, (float)v.b / 255f, (float)v.a / 255f);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@ -24,7 +24,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.515";
|
public static readonly string Version = "1.0.520";
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// Options ////////////////////////////////////
|
||||||
@ -354,8 +354,13 @@ 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>
|
||||||
|
#if WP81
|
||||||
|
public static TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> To(DOGetter<ColorSurrogate> getter, DOSetter<ColorSurrogate> setter, Color endValue, float duration)
|
||||||
|
{ return ApplyTo<ColorSurrogate, ColorSurrogate, ColorOptions>(getter, setter, endValue, duration); }
|
||||||
|
#else
|
||||||
public static TweenerCore<Color, Color, ColorOptions> To(DOGetter<Color> getter, DOSetter<Color> setter, Color endValue, float duration)
|
public static TweenerCore<Color, Color, ColorOptions> To(DOGetter<Color> getter, DOSetter<Color> setter, Color endValue, float duration)
|
||||||
{ return ApplyTo<Color, Color, ColorOptions>(getter, setter, endValue, duration); }
|
{ return ApplyTo<Color, Color, ColorOptions>(getter, setter, endValue, duration); }
|
||||||
|
#endif
|
||||||
/// <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>
|
||||||
@ -416,8 +421,13 @@ 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>
|
||||||
|
#if WP81
|
||||||
|
public static Tweener ToAlpha(DOGetter<ColorSurrogate> getter, DOSetter<ColorSurrogate> setter, float endValue, float duration)
|
||||||
|
{ return ApplyTo<ColorSurrogate, ColorSurrogate, ColorOptions>(getter, setter, new ColorSurrogate(0, 0, 0, endValue), duration).SetOptions(true); }
|
||||||
|
#else
|
||||||
public static Tweener ToAlpha(DOGetter<Color> getter, DOSetter<Color> setter, float endValue, float duration)
|
public static Tweener ToAlpha(DOGetter<Color> getter, DOSetter<Color> setter, float endValue, float duration)
|
||||||
{ return ApplyTo<Color, Color, ColorOptions>(getter, setter, new Color(0, 0, 0, endValue), duration).SetOptions(true); }
|
{ return ApplyTo<Color, Color, ColorOptions>(getter, setter, new Color(0, 0, 0, endValue), duration).SetOptions(true); }
|
||||||
|
#endif
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@ -71,6 +71,7 @@
|
|||||||
<Compile Include="Core\Enums\UpdateMode.cs" />
|
<Compile Include="Core\Enums\UpdateMode.cs" />
|
||||||
<Compile Include="Core\Extensions.cs" />
|
<Compile Include="Core\Extensions.cs" />
|
||||||
<Compile Include="Core\SequenceCallback.cs" />
|
<Compile Include="Core\SequenceCallback.cs" />
|
||||||
|
<Compile Include="Core\Surrogates\ColorSurrogate.cs" />
|
||||||
<Compile Include="Core\Surrogates\Vector2Surrogate.cs" />
|
<Compile Include="Core\Surrogates\Vector2Surrogate.cs" />
|
||||||
<Compile Include="Core\Surrogates\Vector3Surrogate.cs" />
|
<Compile Include="Core\Surrogates\Vector3Surrogate.cs" />
|
||||||
<Compile Include="Core\TweenManager.cs" />
|
<Compile Include="Core\TweenManager.cs" />
|
||||||
@ -84,6 +85,7 @@
|
|||||||
<Compile Include="PathMode.cs" />
|
<Compile Include="PathMode.cs" />
|
||||||
<Compile Include="PathType.cs" />
|
<Compile Include="PathType.cs" />
|
||||||
<Compile Include="Plugins\Color2Plugin.cs" />
|
<Compile Include="Plugins\Color2Plugin.cs" />
|
||||||
|
<Compile Include="Plugins\ColorSurrogatePlugin.cs" />
|
||||||
<Compile Include="Plugins\Core\PathCore\ControlPoint.cs" />
|
<Compile Include="Plugins\Core\PathCore\ControlPoint.cs" />
|
||||||
<Compile Include="Plugins\LongPlugin.cs" />
|
<Compile Include="Plugins\LongPlugin.cs" />
|
||||||
<Compile Include="Plugins\Options\PathOptions.cs" />
|
<Compile Include="Plugins\Options\PathOptions.cs" />
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
// Author: Daniele Giardini - http://www.demigiant.com
|
#if !WP81
|
||||||
|
// Author: Daniele Giardini - http://www.demigiant.com
|
||||||
// Created: 2014/07/10 14:33
|
// Created: 2014/07/10 14:33
|
||||||
//
|
//
|
||||||
// License Copyright (c) Daniele Giardini.
|
// License Copyright (c) Daniele Giardini.
|
||||||
@ -73,3 +74,4 @@ namespace DG.Tweening.Plugins
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
74
_DOTween.Assembly/DOTween/Plugins/ColorSurrogatePlugin.cs
Normal file
74
_DOTween.Assembly/DOTween/Plugins/ColorSurrogatePlugin.cs
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
#if WP81
|
||||||
|
// Author: Daniele Giardini - http://www.demigiant.com
|
||||||
|
// Created: 2015/04/15 12:17
|
||||||
|
|
||||||
|
using DG.Tweening.Core;
|
||||||
|
using DG.Tweening.Core.Easing;
|
||||||
|
using DG.Tweening.Core.Surrogates;
|
||||||
|
using DG.Tweening.Plugins.Core;
|
||||||
|
using DG.Tweening.Plugins.Options;
|
||||||
|
|
||||||
|
#pragma warning disable 1591
|
||||||
|
namespace DG.Tweening.Plugins
|
||||||
|
{
|
||||||
|
public class ColorSurrogatePlugin : ABSTweenPlugin<ColorSurrogate, ColorSurrogate, ColorOptions>
|
||||||
|
{
|
||||||
|
public override void Reset(TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t) { }
|
||||||
|
|
||||||
|
public override void SetFrom(TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t, bool isRelative)
|
||||||
|
{
|
||||||
|
ColorSurrogate prevEndVal = t.endValue;
|
||||||
|
t.endValue = t.getter();
|
||||||
|
t.startValue = isRelative ? t.endValue + prevEndVal : prevEndVal;
|
||||||
|
ColorSurrogate to = t.endValue;
|
||||||
|
if (!t.plugOptions.alphaOnly) to = t.startValue;
|
||||||
|
else to.a = t.startValue.a;
|
||||||
|
t.setter(to);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ColorSurrogate ConvertToStartValue(TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t, ColorSurrogate value)
|
||||||
|
{
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SetRelativeEndValue(TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t)
|
||||||
|
{
|
||||||
|
t.endValue += t.startValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SetChangeValue(TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t)
|
||||||
|
{
|
||||||
|
t.changeValue = t.endValue - t.startValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override float GetSpeedBasedDuration(ColorOptions options, float unitsXSecond, ColorSurrogate changeValue)
|
||||||
|
{
|
||||||
|
return 1f / unitsXSecond;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void EvaluateAndApply(ColorOptions options, Tween t, bool isRelative, DOGetter<ColorSurrogate> getter, DOSetter<ColorSurrogate> setter, float elapsed, ColorSurrogate startValue, ColorSurrogate changeValue, float duration, bool usingInversePosition)
|
||||||
|
{
|
||||||
|
if (t.loopType == LoopType.Incremental) startValue += changeValue * (t.isComplete ? t.completedLoops - 1 : t.completedLoops);
|
||||||
|
if (t.isSequenced && t.sequenceParent.loopType == LoopType.Incremental) {
|
||||||
|
startValue += changeValue * (t.loopType == LoopType.Incremental ? t.loops : 1)
|
||||||
|
* (t.sequenceParent.isComplete ? t.sequenceParent.completedLoops - 1 : t.sequenceParent.completedLoops);
|
||||||
|
}
|
||||||
|
|
||||||
|
float easeVal = EaseManager.Evaluate(t.easeType, t.customEase, elapsed, duration, t.easeOvershootOrAmplitude, t.easePeriod);
|
||||||
|
if (!options.alphaOnly) {
|
||||||
|
startValue.r += changeValue.r * easeVal;
|
||||||
|
startValue.g += changeValue.g * easeVal;
|
||||||
|
startValue.b += changeValue.b * easeVal;
|
||||||
|
startValue.a += changeValue.a * easeVal;
|
||||||
|
setter(startValue);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Alpha only
|
||||||
|
ColorSurrogate res = getter();
|
||||||
|
res.a = startValue.a + changeValue.a * easeVal;
|
||||||
|
setter(res);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@ -85,10 +85,19 @@ namespace DG.Tweening.Plugins.Core
|
|||||||
else if (t1 == typeof(float)) {
|
else if (t1 == typeof(float)) {
|
||||||
if (_floatPlugin == null) _floatPlugin = new FloatPlugin();
|
if (_floatPlugin == null) _floatPlugin = new FloatPlugin();
|
||||||
plugin = _floatPlugin;
|
plugin = _floatPlugin;
|
||||||
} else if (t1 == typeof(Color)) {
|
}
|
||||||
|
#if WP81
|
||||||
|
else if (t1 == typeof(ColorSurrogate)) {
|
||||||
|
if (_colorPlugin == null) _colorPlugin = new ColorSurrogatePlugin();
|
||||||
|
plugin = _colorPlugin;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
else if (t1 == typeof(Color)) {
|
||||||
if (_colorPlugin == null) _colorPlugin = new ColorPlugin();
|
if (_colorPlugin == null) _colorPlugin = new ColorPlugin();
|
||||||
plugin = _colorPlugin;
|
plugin = _colorPlugin;
|
||||||
} else if (t1 == typeof(int)) {
|
}
|
||||||
|
#endif
|
||||||
|
else if (t1 == typeof(int)) {
|
||||||
if (_intPlugin == null) _intPlugin = new IntPlugin();
|
if (_intPlugin == null) _intPlugin = new IntPlugin();
|
||||||
plugin = _intPlugin;
|
plugin = _intPlugin;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -682,7 +682,11 @@ namespace DG.Tweening
|
|||||||
|
|
||||||
/// <summary>Options for Color tweens</summary>
|
/// <summary>Options for Color tweens</summary>
|
||||||
/// <param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
/// <param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
||||||
|
#if WP81
|
||||||
|
public static Tweener SetOptions(this TweenerCore<ColorSurrogate, ColorSurrogate, ColorOptions> t, bool alphaOnly)
|
||||||
|
#else
|
||||||
public static Tweener SetOptions(this TweenerCore<Color, Color, ColorOptions> t, bool alphaOnly)
|
public static Tweener SetOptions(this TweenerCore<Color, Color, ColorOptions> t, bool alphaOnly)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
if (t == null || !t.active) return t;
|
if (t == null || !t.active) return t;
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,12 @@
|
|||||||
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
<member name="F:DG.Tweening.PathMode.Sidescroller2D">
|
||||||
<summary>2D side-scroller path</summary>
|
<summary>2D side-scroller path</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector2Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.TweenType">
|
<member name="T:DG.Tweening.TweenType">
|
||||||
<summary>
|
<summary>
|
||||||
Used internally
|
Used internally
|
||||||
@ -532,29 +538,29 @@
|
|||||||
<summary>Options for float tweens</summary>
|
<summary>Options for float tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector2,UnityEngine.Vector2,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Core.Surrogates.Vector2Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector2 tweens</summary>
|
<summary>Options for Vector2 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Core.Surrogates.Vector3Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector3 tweens</summary>
|
<summary>Options for Vector3 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Vector4,UnityEngine.Vector4,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Core.Surrogates.Vector4Surrogate,DG.Tweening.Plugins.Options.VectorOptions},DG.Tweening.AxisConstraint,System.Boolean)">
|
||||||
<summary>Options for Vector4 tweens</summary>
|
<summary>Options for Vector4 tweens</summary>
|
||||||
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
<param name="axisConstraint">Selecting an axis will tween the vector only on that axis, leaving the others untouched</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
@ -564,7 +570,7 @@
|
|||||||
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
<param name="useShortest360Route">If TRUE (default) the rotation will take the shortest route, and will not rotate more than 360°.
|
||||||
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
<member name="M:DG.Tweening.TweenSettingsExtensions.SetOptions(DG.Tweening.Core.TweenerCore{DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Core.Surrogates.ColorSurrogate,DG.Tweening.Plugins.Options.ColorOptions},System.Boolean)">
|
||||||
<summary>Options for Color tweens</summary>
|
<summary>Options for Color tweens</summary>
|
||||||
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
<param name="alphaOnly">If TRUE only the alpha value of the color will be tweened</param>
|
||||||
</member>
|
</member>
|
||||||
@ -1304,6 +1310,12 @@
|
|||||||
and returns the total number of tweens involved.
|
and returns the total number of tweens involved.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector3Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.PathType">
|
<member name="T:DG.Tweening.PathType">
|
||||||
<summary>
|
<summary>
|
||||||
Type of path to use with DOPath tweens
|
Type of path to use with DOPath tweens
|
||||||
@ -1484,7 +1496,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{UnityEngine.Vector2},DG.Tweening.Core.DOSetter{UnityEngine.Vector2},UnityEngine.Vector2,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector2Surrogate},UnityEngine.Vector2,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>
|
||||||
@ -1492,7 +1504,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{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},UnityEngine.Vector3,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},UnityEngine.Vector3,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>
|
||||||
@ -1500,7 +1512,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{UnityEngine.Vector4},DG.Tweening.Core.DOSetter{UnityEngine.Vector4},UnityEngine.Vector4,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector4Surrogate},UnityEngine.Vector4,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>
|
||||||
@ -1516,7 +1528,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{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.DOTween.To(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},UnityEngine.Color,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>
|
||||||
@ -1551,7 +1563,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.ToAxis(DG.Tweening.Core.DOGetter{UnityEngine.Vector3},DG.Tweening.Core.DOSetter{UnityEngine.Vector3},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
<member name="M:DG.Tweening.DOTween.ToAxis(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.Vector3Surrogate},System.Single,System.Single,DG.Tweening.AxisConstraint)">
|
||||||
<summary>Tweens only one axis of a Vector3 to the given value using default plugins.</summary>
|
<summary>Tweens only one axis of a Vector3 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>
|
||||||
@ -1560,7 +1572,7 @@
|
|||||||
<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>
|
||||||
<param name="axisConstraint">The axis to tween</param>
|
<param name="axisConstraint">The axis to tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{UnityEngine.Color},DG.Tweening.Core.DOSetter{UnityEngine.Color},System.Single,System.Single)">
|
<member name="M:DG.Tweening.DOTween.ToAlpha(DG.Tweening.Core.DOGetter{DG.Tweening.Core.Surrogates.ColorSurrogate},DG.Tweening.Core.DOSetter{DG.Tweening.Core.Surrogates.ColorSurrogate},System.Single,System.Single)">
|
||||||
<summary>Tweens only the alpha of a Color to the given value using default plugins</summary>
|
<summary>Tweens only the alpha of a Color 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>
|
||||||
@ -1821,6 +1833,12 @@
|
|||||||
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
<summary>Continuously increments the tween at the end of each loop cycle (A to B, B to B+(A-B), and so on), thus always moving "onward".
|
||||||
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
<para>In case of String tweens works only if the tween is set as relative</para></summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.Tweening.Core.Surrogates.Vector4Surrogate">
|
||||||
|
<summary>
|
||||||
|
A surrogate for Vector2/3/4 values to work around Unity's bug when trying to cast to
|
||||||
|
a Vector2/3/4 plugin on WP8.1
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:DG.Tweening.Tweener">
|
<member name="T:DG.Tweening.Tweener">
|
||||||
<summary>
|
<summary>
|
||||||
Animates a single value
|
Animates a single value
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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