Created
January 31, 2019 20:33
-
-
Save DataGreed/e152dc76eb4a13bb5db587c76867a75e to your computer and use it in GitHub Desktop.
disable logging in unity of the project is run in external player (not editor)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_EDITOR | |
Debug.unityLogger.logEnabled = true; | |
#else | |
Debug.unityLogger.logEnabled = false; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment