Skip to content

Commit

Permalink
Fixed EventSystem warnings being spammed when loading a scene additively
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirkula committed Apr 1, 2023
1 parent 2192877 commit 27701c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plugins/IngameDebugConsole/README.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions Plugins/IngameDebugConsole/Scripts/EventSystemHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ private void OnDisable()

private void OnSceneLoaded( Scene scene, LoadSceneMode mode )
{
#if UNITY_2017_2_OR_NEWER
DeactivateEventSystem();
#endif
ActivateEventSystemIfNeeded();
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 27701c5

Please sign in to comment.