diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll index 2b2f7e8..96f3676 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 1d98f4c..d8a9cc5 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 27f74d2..77b5d5f 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 7520ca8..5952ce1 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 23b0b35..b19d7c9 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 adcaffe..a30b56a 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 42b7fde..567a0c5 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 0636d3e..bc50b5e 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 405fd43..718bd84 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 9702dbf..b5bc434 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.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll index 2b2f7e8..96f3676 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 1d98f4c..d8a9cc5 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 27f74d2..77b5d5f 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 7520ca8..5952ce1 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 23b0b35..b19d7c9 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 adcaffe..a30b56a 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 42b7fde..567a0c5 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 0636d3e..bc50b5e 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 405fd43..718bd84 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 9702dbf..b5bc434 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.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll index 2b2f7e8..96f3676 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 1d98f4c..d8a9cc5 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 27f74d2..77b5d5f 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 7520ca8..5952ce1 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 23b0b35..b19d7c9 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 adcaffe..a30b56a 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 42b7fde..567a0c5 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 0636d3e..bc50b5e 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 405fd43..718bd84 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 9702dbf..b5bc434 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/_Tests PRO/AnimationEditor.unity b/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor.unity index 85e2a81..783149a 100644 Binary files a/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor.unity and b/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor_TempTests.unity b/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor_TempTests.unity index 8b67cbf..9bdafa3 100644 Binary files a/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor_TempTests.unity and b/UnityTests.Unity5/Assets/_Tests PRO/AnimationEditor_TempTests.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests PRO/Paths.unity b/UnityTests.Unity5/Assets/_Tests PRO/Paths.unity index 59f0db6..d958b80 100644 Binary files a/UnityTests.Unity5/Assets/_Tests PRO/Paths.unity and b/UnityTests.Unity5/Assets/_Tests PRO/Paths.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs new file mode 100644 index 0000000..e8b4c16 --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs @@ -0,0 +1,11 @@ +using UnityEngine; +using System.Collections; +using DG.Tweening; + +public class TempPro : MonoBehaviour +{ + void Start() + { + transform.DOMove(new Vector3(4,0,0), 1).From(true).SetDelay(1); + } +} \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs.meta b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs.meta new file mode 100644 index 0000000..f2b3e06 --- /dev/null +++ b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: a23af4cabef4a60458b7cea8f64c6bc4 +timeCreated: 1428922934 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity index 1894f96..0de87ec 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/TempTests.cs b/UnityTests.Unity5/Assets/_Tests/TempTests.cs index bec480e..27997a8 100644 --- a/UnityTests.Unity5/Assets/_Tests/TempTests.cs +++ b/UnityTests.Unity5/Assets/_Tests/TempTests.cs @@ -7,14 +7,13 @@ using System; public class TempTests : BrainBase { - public Transform target; - public Ease ease = Ease.Linear; - - void OnGUI() + void OnEnable() { - if (GUILayout.Button("SHAKE")) { - target.DOKill(); - target.DOShakePosition(4, 1, 3).SetEase(ease); - } + Debug.Log("ENABLE"); + } + + void OnDisable() + { + Debug.Log("DISABLE"); } } \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_Tests/TempTests.unity b/UnityTests.Unity5/Assets/_Tests/TempTests.unity index cb2479d..e755673 100644 Binary files a/UnityTests.Unity5/Assets/_Tests/TempTests.unity and b/UnityTests.Unity5/Assets/_Tests/TempTests.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests/UIMisc.cs b/UnityTests.Unity5/Assets/_Tests/UIMisc.cs index bd2b11e..e491874 100644 --- a/UnityTests.Unity5/Assets/_Tests/UIMisc.cs +++ b/UnityTests.Unity5/Assets/_Tests/UIMisc.cs @@ -33,7 +33,8 @@ public class UIMisc : BrainBase circleOutT.DORotate(new Vector3(0,0,360), 0.5f, RotateMode.FastBeyond360).SetEase(Ease.Linear).SetLoops(-1); circleInT.DORotate(new Vector3(0,0,-360), 2f, RotateMode.FastBeyond360).SetEase(Ease.Linear).SetLoops(-1); // Move - moveT.DOMoveX(50, 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo); + // moveT.DOMoveX(50, 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo); + moveT.DOAnchorPos3D(new Vector2(50, 0), 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo); // Text DOTween.Sequence() diff --git a/UnityTests.Unity5/Assets/_Tests/UIMisc.unity b/UnityTests.Unity5/Assets/_Tests/UIMisc.unity index cd735ee..a4370de 100644 Binary files a/UnityTests.Unity5/Assets/_Tests/UIMisc.unity and b/UnityTests.Unity5/Assets/_Tests/UIMisc.unity differ diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.XML b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.XML index 61ea052..21d6356 100644 --- a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.XML +++ b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.XML @@ -201,6 +201,11 @@ Max Sequences capacity. Default: 50 + + + Public so it can be used by lose scripts related to DOTween (like DOTweenAnimation) + + Controls other tweens as a group @@ -1040,6 +1045,11 @@ Also stores the transform as the tween's target so it can be used for filtered operations The end value to reachThe duration of the tween + + Tweens a Transform's localScale uniformly to the given value. + Also stores the transform as the tween's target so it can be used for filtered operations + The end value to reachThe duration of the tween + Tweens a Transform's X localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations @@ -1265,14 +1275,14 @@ and returns the total number of tweens played. - + Restarts 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 restarted. - + 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) @@ -1664,6 +1674,10 @@ Plays all tweens with the given ID or target and returns the number of actual tweens played (meaning the tweens that were not already playing or complete) + + Plays all tweens with the given target and the given ID, and returns the number of actual tweens played + (meaning the tweens that were not already playing or complete) + Plays backwards all tweens and returns the number of actual tweens played (meaning tweens that were not already started, playing backwards or rewinded) @@ -1686,6 +1700,10 @@ Restarts all tweens with the given ID or target, then returns the number of actual tweens restarted + + Restarts all tweens with the given target and the given ID, and returns the number of actual tweens played + (meaning the tweens that were not already playing or complete) + Rewinds and pauses all tweens, then returns the number of actual tweens rewinded (meaning tweens that were not already rewinded) @@ -1754,6 +1772,32 @@ Path plugin works exclusively with Transforms + + + Allows to wrap ease method in special ways, adding extra features + + + + + Converts the given ease so that it also creates a stop-motion effect, by playing the tween at the given FPS + + FPS at which the tween should be played + Ease type + + + + Converts the given ease so that it also creates a stop-motion effect, by playing the tween at the given FPS + + FPS at which the tween should be played + AnimationCurve to use for the ease + + + + Converts the given ease so that it also creates a stop-motion effect, by playing the tween at the given FPS + + FPS at which the tween should be played + Custom ease function to use + Types of loop @@ -1857,6 +1901,7 @@ Used to interpret AnimationCurves as eases. + Public so it can be used by external ease factories diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll index 0598daa..a07c2a1 100644 Binary files a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll and b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll differ diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll.mdb b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll.mdb index 7eaa908..d730cef 100644 Binary files a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll.mdb and b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/DOTween.dll.mdb differ diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll index c794091..405fd43 100644 Binary files a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll and b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll differ diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll.mdb b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll.mdb index 036f3d3..9702dbf 100644 Binary files a/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll.mdb and b/Win81CompatibilityTest.Unity4/Assets/Scripts/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs b/Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs index 13281c5..ee2e535 100644 --- a/Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs +++ b/Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs @@ -12,6 +12,7 @@ public class TestScene : MonoBehaviour { public Text logText; public Transform target; + public TextMesh text; string log; string logPrefix = "\n➨ "; @@ -25,6 +26,8 @@ public class TestScene : MonoBehaviour ITweenPlugin idotweenClass; string testId; + int intToTween; + IEnumerator Start() { FloatTest(); @@ -47,6 +50,7 @@ public class TestScene : MonoBehaviour yield return null; target.DOMove(new Vector3(3, 0, 0), 2); + // DOTween.To(()=>intToTween, x=> intToTween = x, 100, 4).OnUpdate(()=> text.text = intToTween.ToString()); } void DOTweenVector3Test() diff --git a/Win81CompatibilityTest.Unity4/Assets/TestScene.unity b/Win81CompatibilityTest.Unity4/Assets/TestScene.unity index 7888d3d..aa764d9 100644 Binary files a/Win81CompatibilityTest.Unity4/Assets/TestScene.unity and b/Win81CompatibilityTest.Unity4/Assets/TestScene.unity differ diff --git a/Win81CompatibilityTest.unitypackage b/Win81CompatibilityTest.unitypackage index ddb2b03..6044364 100644 Binary files a/Win81CompatibilityTest.unitypackage and b/Win81CompatibilityTest.unitypackage differ diff --git a/_DOTween.Assembly/DOTween/DOTween.cs b/_DOTween.Assembly/DOTween/DOTween.cs index a4f9564..99069f0 100644 --- a/_DOTween.Assembly/DOTween/DOTween.cs +++ b/_DOTween.Assembly/DOTween/DOTween.cs @@ -21,7 +21,7 @@ namespace DG.Tweening public class DOTween { /// DOTween's version - public static readonly string Version = "1.0.470"; + public static readonly string Version = "1.0.480"; /////////////////////////////////////////////// // Options //////////////////////////////////// diff --git a/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs b/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs index a99145a..1665a9a 100644 --- a/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs +++ b/_DOTween.Assembly/DOTween/Plugins/Core/PluginsManager.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; using DG.Tweening.Core; +using DG.Tweening.Plugins.Options; using UnityEngine; namespace DG.Tweening.Plugins.Core @@ -102,37 +103,53 @@ namespace DG.Tweening.Plugins.Core if (plugin != null) { Debug.Log("PLUGIN FOUND, trying to assign it correctly..."); ABSTweenPlugin p; + ABSTweenPlugin pExplicit; + // Explicit casting to Vector3Plugin + try { + pExplicit = (ABSTweenPlugin)plugin; + if (pExplicit != null) Debug.Log("- EXPLICIT CAST SUCCESS X"); + p = pExplicit as ABSTweenPlugin; + if (p != null) { + Debug.Log("- PLUGIN SUCCESS X"); + return p; + } + } catch (Exception e) { + Debug.Log("- PLUGIN FAIL X > " + e.Message); + } + // More regular ways try { p = plugin as ABSTweenPlugin; if (p != null) { - Debug.Log("PLUGIN SUCCESS A"); + Debug.Log("- PLUGIN SUCCESS A"); return p; } } catch (Exception e) { - Debug.Log("PLUGIN FAIL A > " + e.Message); + Debug.Log("- PLUGIN FAIL A > " + e.Message); } try { - p = (object)plugin as ABSTweenPlugin; + System.Object obj = (object)plugin; + p = obj as ABSTweenPlugin; if (p != null) { - Debug.Log("PLUGIN SUCCESS A2"); + Debug.Log("- PLUGIN SUCCESS A2"); return p; } } catch (Exception e) { - Debug.Log("PLUGIN FAIL A2 > " + e.Message); + Debug.Log("- PLUGIN FAIL A2 > " + e.Message); } try { p = (ABSTweenPlugin)plugin; - Debug.Log("PLUGIN SUCCESS B"); + Debug.Log("- PLUGIN SUCCESS B"); return p; } catch (Exception e) { - Debug.Log("PLUGIN FAIL B > " + e.Message); + Debug.Log("- PLUGIN FAIL B > " + e.Message); } try { - p = (ABSTweenPlugin)(object)plugin; - Debug.Log("PLUGIN SUCCESS B2"); + System.Object obj = (object)plugin; + p = (ABSTweenPlugin)obj; + Debug.Log("- PLUGIN SUCCESS B2"); return p; } catch (Exception e) { - Debug.Log("PLUGIN FAIL B2 > " + e.Message); + Debug.Log("- PLUGIN FAIL B2 > " + e.Message); } return null; } diff --git a/_DOTween.Assembly/DOTween/Tweener.cs b/_DOTween.Assembly/DOTween/Tweener.cs index 6e1878e..b1ac107 100644 --- a/_DOTween.Assembly/DOTween/Tweener.cs +++ b/_DOTween.Assembly/DOTween/Tweener.cs @@ -92,7 +92,8 @@ namespace DG.Tweening if (iplug != null) { Debug.Log(">> IPlugin found"); try { - t.tweenPlugin = (ABSTweenPlugin)(object)iplug; + System.Object pObj = (object)iplug; + t.tweenPlugin = (ABSTweenPlugin)pObj; } catch (Exception e) { Debug.Log(">> Error while assigning IPlugin > " + e.Message); } diff --git a/_DOTween.Assembly/bin/DOTween.dll b/_DOTween.Assembly/bin/DOTween.dll index 2b2f7e8..96f3676 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 1d98f4c..d8a9cc5 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 27f74d2..77b5d5f 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 7520ca8..5952ce1 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 23b0b35..b19d7c9 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 adcaffe..a30b56a 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 42b7fde..567a0c5 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 0636d3e..bc50b5e 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 405fd43..718bd84 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 9702dbf..b5bc434 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb differ