diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML index 33da8e8..cad8369 100644 --- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML @@ -35,6 +35,12 @@ 2D side-scroller path + + + 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 + + Used internally @@ -532,29 +538,29 @@ Options for float tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers @@ -564,7 +570,7 @@ 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 - + Options for Color tweens If TRUE only the alpha value of the color will be tweened @@ -1304,6 +1310,12 @@ and returns the total number of tweens involved. + + + 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 + + Type of path to use with DOPath tweens @@ -1484,7 +1496,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1492,7 +1504,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1500,7 +1512,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1516,7 +1528,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1551,7 +1563,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens only one axis of a Vector3 to the given value using default plugins. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1560,7 +1572,7 @@ The end value to reachThe tween's duration The axis to tween - + Tweens only the alpha of a Color to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1821,6 +1833,12 @@ 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". In case of String tweens works only if the tween is set as relative + + + 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 + + Animates a single value diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll index 2fe3e75..e00a1cc 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb index f26fa1f..1a5a05d 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll index 9f03c66..cc0654e 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb index 754af3e..2f3cccf 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll index ff9e1bd..530572e 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb index d5203ff..d396e03 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll index 68eaf9f..9c38504 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 5417e68..72ab287 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index fdc3b95..92840ec 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index 9235125..4bf7cb8 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML index 33da8e8..cad8369 100644 --- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML @@ -35,6 +35,12 @@ 2D side-scroller path + + + 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 + + Used internally @@ -532,29 +538,29 @@ Options for float tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers @@ -564,7 +570,7 @@ 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 - + Options for Color tweens If TRUE only the alpha value of the color will be tweened @@ -1304,6 +1310,12 @@ and returns the total number of tweens involved. + + + 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 + + Type of path to use with DOPath tweens @@ -1484,7 +1496,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1492,7 +1504,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1500,7 +1512,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1516,7 +1528,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1551,7 +1563,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens only one axis of a Vector3 to the given value using default plugins. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1560,7 +1572,7 @@ The end value to reachThe tween's duration The axis to tween - + Tweens only the alpha of a Color to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1821,6 +1833,12 @@ 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". In case of String tweens works only if the tween is set as relative + + + 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 + + Animates a single value diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll index 2fe3e75..e00a1cc 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb index f26fa1f..1a5a05d 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll index 9f03c66..cc0654e 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb index 754af3e..2f3cccf 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll index ff9e1bd..530572e 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb index d5203ff..d396e03 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll index 68eaf9f..9c38504 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 5417e68..72ab287 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index fdc3b95..92840ec 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index 9235125..4bf7cb8 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML index 33da8e8..cad8369 100644 --- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML @@ -35,6 +35,12 @@ 2D side-scroller path + + + 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 + + Used internally @@ -532,29 +538,29 @@ Options for float tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers @@ -564,7 +570,7 @@ 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 - + Options for Color tweens If TRUE only the alpha value of the color will be tweened @@ -1304,6 +1310,12 @@ and returns the total number of tweens involved. + + + 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 + + Type of path to use with DOPath tweens @@ -1484,7 +1496,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1492,7 +1504,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1500,7 +1512,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1516,7 +1528,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1551,7 +1563,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens only one axis of a Vector3 to the given value using default plugins. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1560,7 +1572,7 @@ The end value to reachThe tween's duration The axis to tween - + Tweens only the alpha of a Color to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1821,6 +1833,12 @@ 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". In case of String tweens works only if the tween is set as relative + + + 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 + + Animates a single value diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll index 2fe3e75..e00a1cc 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb index f26fa1f..1a5a05d 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll index 9f03c66..cc0654e 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb index 754af3e..2f3cccf 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll index ff9e1bd..530572e 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb index d5203ff..d396e03 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll index 68eaf9f..9c38504 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 5417e68..72ab287 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index fdc3b95..92840ec 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index 9235125..4bf7cb8 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/_DOTween.Assembly/DOTween/Core/Surrogates/ColorSurrogate.cs b/_DOTween.Assembly/DOTween/Core/Surrogates/ColorSurrogate.cs new file mode 100644 index 0000000..b1e168e --- /dev/null +++ b/_DOTween.Assembly/DOTween/Core/Surrogates/ColorSurrogate.cs @@ -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 \ No newline at end of file diff --git a/_DOTween.Assembly/DOTween/DOTween.cs b/_DOTween.Assembly/DOTween/DOTween.cs index ee7b025..844f1ab 100644 --- a/_DOTween.Assembly/DOTween/DOTween.cs +++ b/_DOTween.Assembly/DOTween/DOTween.cs @@ -24,7 +24,7 @@ namespace DG.Tweening public class DOTween { /// DOTween's version - public static readonly string Version = "1.0.515"; + public static readonly string Version = "1.0.520"; /////////////////////////////////////////////// // Options //////////////////////////////////// @@ -354,8 +354,13 @@ namespace DG.Tweening /// A setter for the field or property to tween /// Example usage with lambda:x=> myProperty = x /// The end value to reachThe tween's duration +#if WP81 + public static TweenerCore To(DOGetter getter, DOSetter setter, Color endValue, float duration) + { return ApplyTo(getter, setter, endValue, duration); } +#else public static TweenerCore To(DOGetter getter, DOSetter setter, Color endValue, float duration) { return ApplyTo(getter, setter, endValue, duration); } +#endif /// Tweens a property or field to the given value using default plugins /// A getter for the field or property to tween. /// Example usage with lambda:()=> myProperty @@ -416,8 +421,13 @@ namespace DG.Tweening /// A setter for the field or property to tween /// Example usage with lambda:x=> myProperty = x /// The end value to reachThe tween's duration +#if WP81 + public static Tweener ToAlpha(DOGetter getter, DOSetter setter, float endValue, float duration) + { return ApplyTo(getter, setter, new ColorSurrogate(0, 0, 0, endValue), duration).SetOptions(true); } +#else public static Tweener ToAlpha(DOGetter getter, DOSetter setter, float endValue, float duration) { return ApplyTo(getter, setter, new Color(0, 0, 0, endValue), duration).SetOptions(true); } +#endif #endregion diff --git a/_DOTween.Assembly/DOTween/DOTween.csproj b/_DOTween.Assembly/DOTween/DOTween.csproj index 75ccfbf..f183c45 100644 --- a/_DOTween.Assembly/DOTween/DOTween.csproj +++ b/_DOTween.Assembly/DOTween/DOTween.csproj @@ -71,6 +71,7 @@ + @@ -84,6 +85,7 @@ + diff --git a/_DOTween.Assembly/DOTween/Plugins/ColorPlugin.cs b/_DOTween.Assembly/DOTween/Plugins/ColorPlugin.cs index 4a101b5..6604d13 100644 --- a/_DOTween.Assembly/DOTween/Plugins/ColorPlugin.cs +++ b/_DOTween.Assembly/DOTween/Plugins/ColorPlugin.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 // // License Copyright (c) Daniele Giardini. @@ -72,4 +73,5 @@ namespace DG.Tweening.Plugins setter(res); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/_DOTween.Assembly/DOTween/Plugins/ColorSurrogatePlugin.cs b/_DOTween.Assembly/DOTween/Plugins/ColorSurrogatePlugin.cs new file mode 100644 index 0000000..80d5af6 --- /dev/null +++ b/_DOTween.Assembly/DOTween/Plugins/ColorSurrogatePlugin.cs @@ -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 + { + public override void Reset(TweenerCore t) { } + + public override void SetFrom(TweenerCore 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 t, ColorSurrogate value) + { + return value; + } + + public override void SetRelativeEndValue(TweenerCore t) + { + t.endValue += t.startValue; + } + + public override void SetChangeValue(TweenerCore 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 getter, DOSetter 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 \ No newline at end of file diff --git a/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs b/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs index 9b0dd59..7ccbbc4 100644 --- a/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs +++ b/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs @@ -85,10 +85,19 @@ namespace DG.Tweening.Plugins.Core else if (t1 == typeof(float)) { if (_floatPlugin == null) _floatPlugin = new 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(); plugin = _colorPlugin; - } else if (t1 == typeof(int)) { + } +#endif + else if (t1 == typeof(int)) { if (_intPlugin == null) _intPlugin = new IntPlugin(); plugin = _intPlugin; } diff --git a/_DOTween.Assembly/DOTween/TweenSettingsExtensions.cs b/_DOTween.Assembly/DOTween/TweenSettingsExtensions.cs index 3ca3b4b..fec6a2e 100644 --- a/_DOTween.Assembly/DOTween/TweenSettingsExtensions.cs +++ b/_DOTween.Assembly/DOTween/TweenSettingsExtensions.cs @@ -682,7 +682,11 @@ namespace DG.Tweening /// Options for Color tweens /// If TRUE only the alpha value of the color will be tweened +#if WP81 + public static Tweener SetOptions(this TweenerCore t, bool alphaOnly) +#else public static Tweener SetOptions(this TweenerCore t, bool alphaOnly) +#endif { if (t == null || !t.active) return t; diff --git a/_DOTween.Assembly/bin/DOTween.XML b/_DOTween.Assembly/bin/DOTween.XML index 33da8e8..cad8369 100644 --- a/_DOTween.Assembly/bin/DOTween.XML +++ b/_DOTween.Assembly/bin/DOTween.XML @@ -35,6 +35,12 @@ 2D side-scroller path + + + 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 + + Used internally @@ -532,29 +538,29 @@ Options for float tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector2 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector3 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens If TRUE the tween will smoothly snap all values to integers - + Options for Vector4 tweens Selecting an axis will tween the vector only on that axis, leaving the others untouched If TRUE the tween will smoothly snap all values to integers @@ -564,7 +570,7 @@ 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 - + Options for Color tweens If TRUE only the alpha value of the color will be tweened @@ -1304,6 +1310,12 @@ and returns the total number of tweens involved. + + + 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 + + Type of path to use with DOPath tweens @@ -1484,7 +1496,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1492,7 +1504,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1500,7 +1512,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1516,7 +1528,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens a property or field to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1551,7 +1563,7 @@ Example usage with lambda:x=> myProperty = x The end value to reachThe tween's duration - + Tweens only one axis of a Vector3 to the given value using default plugins. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1560,7 +1572,7 @@ The end value to reachThe tween's duration The axis to tween - + Tweens only the alpha of a Color to the given value using default plugins A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1821,6 +1833,12 @@ 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". In case of String tweens works only if the tween is set as relative + + + 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 + + Animates a single value diff --git a/_DOTween.Assembly/bin/DOTween.dll b/_DOTween.Assembly/bin/DOTween.dll index 2fe3e75..e00a1cc 100644 Binary files a/_DOTween.Assembly/bin/DOTween.dll and b/_DOTween.Assembly/bin/DOTween.dll differ diff --git a/_DOTween.Assembly/bin/DOTween.dll.mdb b/_DOTween.Assembly/bin/DOTween.dll.mdb index f26fa1f..1a5a05d 100644 Binary files a/_DOTween.Assembly/bin/DOTween.dll.mdb and b/_DOTween.Assembly/bin/DOTween.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween43.dll b/_DOTween.Assembly/bin/DOTween43.dll index 9f03c66..cc0654e 100644 Binary files a/_DOTween.Assembly/bin/DOTween43.dll and b/_DOTween.Assembly/bin/DOTween43.dll differ diff --git a/_DOTween.Assembly/bin/DOTween43.dll.mdb b/_DOTween.Assembly/bin/DOTween43.dll.mdb index 754af3e..2f3cccf 100644 Binary files a/_DOTween.Assembly/bin/DOTween43.dll.mdb and b/_DOTween.Assembly/bin/DOTween43.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween46.dll b/_DOTween.Assembly/bin/DOTween46.dll index ff9e1bd..530572e 100644 Binary files a/_DOTween.Assembly/bin/DOTween46.dll and b/_DOTween.Assembly/bin/DOTween46.dll differ diff --git a/_DOTween.Assembly/bin/DOTween46.dll.mdb b/_DOTween.Assembly/bin/DOTween46.dll.mdb index d5203ff..d396e03 100644 Binary files a/_DOTween.Assembly/bin/DOTween46.dll.mdb and b/_DOTween.Assembly/bin/DOTween46.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween50.dll b/_DOTween.Assembly/bin/DOTween50.dll index 68eaf9f..9c38504 100644 Binary files a/_DOTween.Assembly/bin/DOTween50.dll and b/_DOTween.Assembly/bin/DOTween50.dll differ diff --git a/_DOTween.Assembly/bin/DOTween50.dll.mdb b/_DOTween.Assembly/bin/DOTween50.dll.mdb index 5417e68..72ab287 100644 Binary files a/_DOTween.Assembly/bin/DOTween50.dll.mdb and b/_DOTween.Assembly/bin/DOTween50.dll.mdb differ diff --git a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll index fdc3b95..92840ec 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll differ diff --git a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb index 9235125..4bf7cb8 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb differ