diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML index 805d9bf..d5a9cfc 100644 --- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML @@ -790,6 +790,10 @@ Returns TRUE if this tween is playing + + Returns the total number of loops set for this tween + (returns -1 if the loops are infinite) + Returns a point on a path based on the given path percentage. diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll index fa40314..4192b4d 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 8122969..5b45f30 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 1b851d2..ed50884 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 72ebcb2..f04d3aa 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 1af7968..57244ba 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 6f07d45..a94ad6b 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 8d6c946..6e54739 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 be71ea4..7c7c347 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/DOTween50.xml b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml index 62e510d..0d524f4 100644 --- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml +++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.xml @@ -94,7 +94,7 @@ - Smoothly eewinds all tweens that have this target as a reference + Smoothly rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index f488c19..1f88490 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 4d02eab..ac6e388 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 805d9bf..d5a9cfc 100644 --- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML @@ -790,6 +790,10 @@ Returns TRUE if this tween is playing + + Returns the total number of loops set for this tween + (returns -1 if the loops are infinite) + Returns a point on a path based on the given path percentage. diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll index fa40314..4192b4d 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 8122969..5b45f30 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 1b851d2..ed50884 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 72ebcb2..f04d3aa 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 1af7968..57244ba 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 6f07d45..a94ad6b 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 8d6c946..6e54739 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 be71ea4..7c7c347 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/DOTween50.xml b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml index 62e510d..0d524f4 100644 --- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml +++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.xml @@ -94,7 +94,7 @@ - Smoothly eewinds all tweens that have this target as a reference + Smoothly rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index f488c19..1f88490 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 4d02eab..ac6e388 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 805d9bf..d5a9cfc 100644 --- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML @@ -790,6 +790,10 @@ Returns TRUE if this tween is playing + + Returns the total number of loops set for this tween + (returns -1 if the loops are infinite) + Returns a point on a path based on the given path percentage. diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll index fa40314..4192b4d 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 8122969..5b45f30 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 1b851d2..ed50884 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 72ebcb2..f04d3aa 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 1af7968..57244ba 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 6f07d45..a94ad6b 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 8d6c946..6e54739 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 be71ea4..7c7c347 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/DOTween50.xml b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml index 62e510d..0d524f4 100644 --- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml +++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.xml @@ -94,7 +94,7 @@ - Smoothly eewinds all tweens that have this target as a reference + Smoothly rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index f488c19..1f88490 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 4d02eab..ac6e388 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/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs new file mode 100644 index 0000000..9348d46 --- /dev/null +++ b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs @@ -0,0 +1,25 @@ +using UnityEngine; +using System.Collections; +using DG.Tweening; + +public class PressPlatform : MonoBehaviour +{ + public float speed = 2; + + Tweener tween; + + void Start() + { + // Create the tween + tween = transform.DOLocalMoveY(-4, speed).SetAutoKill(false).Pause(); + } + + void Update() + { + if (Input.GetKeyDown(KeyCode.DownArrow)) { + tween.PlayForward(); + } else if (Input.GetKeyUp(KeyCode.DownArrow)) { + tween.PlayBackwards(); + } + } +} \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs.meta b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs.meta new file mode 100644 index 0000000..028a8df --- /dev/null +++ b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 9d358361257181d4a9f560c14c0e58ca +timeCreated: 1433544002 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity new file mode 100644 index 0000000..78a1bf2 Binary files /dev/null and b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity differ diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity.meta b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity.meta new file mode 100644 index 0000000..140749a --- /dev/null +++ b/UnityTests.Unity5/Assets/_DOTween Examples/PressPlatform.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0394305039ec6eb48b4883a3274922cb +timeCreated: 1433543602 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/Spaceship.png b/UnityTests.Unity5/Assets/_DOTween Examples/Spaceship_Examples.png similarity index 100% rename from UnityTests.Unity5/Assets/_DOTween Examples/Spaceship.png rename to UnityTests.Unity5/Assets/_DOTween Examples/Spaceship_Examples.png diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/Spaceship.png.meta b/UnityTests.Unity5/Assets/_DOTween Examples/Spaceship_Examples.png.meta similarity index 100% rename from UnityTests.Unity5/Assets/_DOTween Examples/Spaceship.png.meta rename to UnityTests.Unity5/Assets/_DOTween Examples/Spaceship_Examples.png.meta diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity index 43eae62..4b3872a 100644 Binary files a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity and b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity b/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity new file mode 100644 index 0000000..eb6647b Binary files /dev/null and b/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity.meta b/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity.meta new file mode 100644 index 0000000..52db726 --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests PRO/TempPro_B.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6274db3b7de32fd48850882fdcc7b4ab +timeCreated: 1433414690 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs new file mode 100644 index 0000000..7e806e8 --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs @@ -0,0 +1,34 @@ +using System; +using System.Text; +using UnityEngine; +using System.Collections; + +public class RectTransformConversionTests : BrainBase +{ + public RectTransform a, b; + public RectTransform target; + + void Start() + { + // Corners + Vector3[] aCorners = new Vector3[4]; + Vector3[] targetCorners = new Vector3[4]; + a.GetWorldCorners(aCorners); + target.GetWorldCorners(targetCorners); + Debug.Log("A ::::::::::::::::::::::::::::::::::::::"); + Debug.Log("Corners: " + ArrayToString(aCorners)); + Debug.Log("B ::::::::::::::::::::::::::::::::::::::"); + Debug.Log("TARGET :::::::::::::::::::::::::::::::::"); + Debug.Log("Corners: " + ArrayToString(targetCorners)); + } + + string ArrayToString(IList list) + { + StringBuilder s = new StringBuilder(); + for (int i = 0; i < list.Count; ++i) { + if (i > 0) s.Append(", "); + s.Append(list[i].ToString()); + } + return s.ToString(); + } +} \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs.meta b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs.meta new file mode 100644 index 0000000..1ae4c3b --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4f9a8d2e22a0f3f4d84e1d1f32d005a7 +timeCreated: 1433409273 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity new file mode 100644 index 0000000..651c14a Binary files /dev/null and b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity.meta b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity.meta new file mode 100644 index 0000000..7fd61f0 --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests/RectTransformConversionTests.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 67d34f8f14b3dfa409be463f5b66239d +timeCreated: 1433409263 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/_DOTween.Assembly/DOTween/DOTween.cs b/_DOTween.Assembly/DOTween/DOTween.cs index 2335889..9c887b1 100644 --- a/_DOTween.Assembly/DOTween/DOTween.cs +++ b/_DOTween.Assembly/DOTween/DOTween.cs @@ -32,7 +32,7 @@ namespace DG.Tweening public class DOTween { /// DOTween's version - public static readonly string Version = "1.0.775"; + public static readonly string Version = "1.0.780"; /////////////////////////////////////////////// // Options //////////////////////////////////// diff --git a/_DOTween.Assembly/DOTween/TweenExtensions.cs b/_DOTween.Assembly/DOTween/TweenExtensions.cs index 25e35a7..9022b2d 100644 --- a/_DOTween.Assembly/DOTween/TweenExtensions.cs +++ b/_DOTween.Assembly/DOTween/TweenExtensions.cs @@ -508,6 +508,18 @@ namespace DG.Tweening return t.isPlaying; } + /// Returns the total number of loops set for this tween + /// (returns -1 if the loops are infinite) + public static int Loops(this Tween t) + { + if (!t.active) { + if (Debugger.logPriority > 0) Debugger.LogInvalidTween(t); + return 0; + } + + return t.loops; + } + #region Path Tweens /// diff --git a/_DOTween.Assembly/bin/DOTween.XML b/_DOTween.Assembly/bin/DOTween.XML index 805d9bf..d5a9cfc 100644 --- a/_DOTween.Assembly/bin/DOTween.XML +++ b/_DOTween.Assembly/bin/DOTween.XML @@ -790,6 +790,10 @@ Returns TRUE if this tween is playing + + Returns the total number of loops set for this tween + (returns -1 if the loops are infinite) + Returns a point on a path based on the given path percentage. diff --git a/_DOTween.Assembly/bin/DOTween.dll b/_DOTween.Assembly/bin/DOTween.dll index fa40314..4192b4d 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 8122969..5b45f30 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 1b851d2..ed50884 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 72ebcb2..f04d3aa 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 1af7968..57244ba 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 6f07d45..a94ad6b 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 8d6c946..6e54739 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 be71ea4..7c7c347 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/DOTween50.xml b/_DOTween.Assembly/bin/DOTween50.xml index 62e510d..0d524f4 100644 --- a/_DOTween.Assembly/bin/DOTween50.xml +++ b/_DOTween.Assembly/bin/DOTween50.xml @@ -94,7 +94,7 @@ - Smoothly eewinds all tweens that have this target as a reference + Smoothly rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. diff --git a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll index f488c19..1f88490 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 4d02eab..ac6e388 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb differ