diff --git a/Plugins/IngameDebugConsole/README.txt b/Plugins/IngameDebugConsole/README.txt index e00555f..9311d31 100644 --- a/Plugins/IngameDebugConsole/README.txt +++ b/Plugins/IngameDebugConsole/README.txt @@ -1,4 +1,4 @@ -= In-game Debug Console (v1.5.9) = += In-game Debug Console (v1.6.0) = Online documentation available at: https://github.com/yasirkula/UnityIngameDebugConsole E-mail: yasirkula@gmail.com diff --git a/Plugins/IngameDebugConsole/Scripts/EventSystemHandler.cs b/Plugins/IngameDebugConsole/Scripts/EventSystemHandler.cs index 73c1ac4..5068055 100644 --- a/Plugins/IngameDebugConsole/Scripts/EventSystemHandler.cs +++ b/Plugins/IngameDebugConsole/Scripts/EventSystemHandler.cs @@ -33,6 +33,9 @@ private void OnDisable() private void OnSceneLoaded( Scene scene, LoadSceneMode mode ) { +#if UNITY_2017_2_OR_NEWER + DeactivateEventSystem(); +#endif ActivateEventSystemIfNeeded(); } diff --git a/package.json b/package.json index dbd2323..288e43b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.yasirkula.ingamedebugconsole", "displayName": "In-game Debug Console", - "version": "1.5.9", + "version": "1.6.0", "documentationUrl": "https://github.com/yasirkula/UnityIngameDebugConsole", "changelogUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/releases", "licensesUrl": "https://github.com/yasirkula/UnityIngameDebugConsole/blob/master/LICENSE.txt",