1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 09:46:04 +08:00

[BUGFIX] (by Vasyl Romanets) DOTweenModuleUtils: fixed missing UNITY_2017_1 when choosing whether to subscribe to playmodeStateChanged or playModeStateChanged

This commit is contained in:
Demigiant 2019-02-09 11:02:38 +01:00
parent 3da9f70ce1
commit e86ff6a0c6
15 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ namespace DG.Tweening
DOTweenExternalCommand.SetOrientationOnPath += Physics.SetOrientationOnPath; DOTweenExternalCommand.SetOrientationOnPath += Physics.SetOrientationOnPath;
#if UNITY_EDITOR #if UNITY_EDITOR
#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1
UnityEditor.EditorApplication.playmodeStateChanged += PlaymodeStateChanged; UnityEditor.EditorApplication.playmodeStateChanged += PlaymodeStateChanged;
#else #else
UnityEditor.EditorApplication.playModeStateChanged += PlaymodeStateChanged; UnityEditor.EditorApplication.playModeStateChanged += PlaymodeStateChanged;
@ -46,7 +46,7 @@ namespace DG.Tweening
#if UNITY_EDITOR #if UNITY_EDITOR
// Fires OnApplicationPause in DOTweenComponent even when Editor is paused (otherwise it's only fired at runtime) // Fires OnApplicationPause in DOTweenComponent even when Editor is paused (otherwise it's only fired at runtime)
#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1
static void PlaymodeStateChanged() static void PlaymodeStateChanged()
#else #else
static void PlaymodeStateChanged(UnityEditor.PlayModeStateChange state) static void PlaymodeStateChanged(UnityEditor.PlayModeStateChange state)

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween public class DOTween
{ {
/// <summary>DOTween's version</summary> /// <summary>DOTween's version</summary>
public static readonly string Version = "1.2.166"; // Last version before modules: 1.1.755 public static readonly string Version = "1.2.170"; // Last version before modules: 1.1.755
/////////////////////////////////////////////// ///////////////////////////////////////////////
// Options //////////////////////////////////// // Options ////////////////////////////////////

Binary file not shown.

View File

@ -36,7 +36,7 @@ namespace DG.Tweening
DOTweenExternalCommand.SetOrientationOnPath += Physics.SetOrientationOnPath; DOTweenExternalCommand.SetOrientationOnPath += Physics.SetOrientationOnPath;
#if UNITY_EDITOR #if UNITY_EDITOR
#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1
UnityEditor.EditorApplication.playmodeStateChanged += PlaymodeStateChanged; UnityEditor.EditorApplication.playmodeStateChanged += PlaymodeStateChanged;
#else #else
UnityEditor.EditorApplication.playModeStateChanged += PlaymodeStateChanged; UnityEditor.EditorApplication.playModeStateChanged += PlaymodeStateChanged;
@ -46,7 +46,7 @@ namespace DG.Tweening
#if UNITY_EDITOR #if UNITY_EDITOR
// Fires OnApplicationPause in DOTweenComponent even when Editor is paused (otherwise it's only fired at runtime) // Fires OnApplicationPause in DOTweenComponent even when Editor is paused (otherwise it's only fired at runtime)
#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 #if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_2017_1
static void PlaymodeStateChanged() static void PlaymodeStateChanged()
#else #else
static void PlaymodeStateChanged(UnityEditor.PlayModeStateChange state) static void PlaymodeStateChanged(UnityEditor.PlayModeStateChange state)