Created
August 25, 2022 09:38
-
-
Save Fastzargon/0e09c7c384ea86e27a6522ce7eddab4f to your computer and use it in GitHub Desktop.
DebuggerOff example one
This file contains hidden or 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
private void DebuggerSetup() { | |
#if UNITY_EDITOR | |
Debug.unityLogger.logEnabled = debugOn; | |
#else | |
Debug.unityLogger.logEnabled != debugOn; | |
#endif | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment