Created
August 25, 2022 09:57
-
-
Save Fastzargon/1f16a8ca6b056ec2967d0e4d2e5ea18f to your computer and use it in GitHub Desktop.
FullMethodTwo
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
using UnityEngine; | |
public class Example : MonoBehaviour { | |
private void Awake() { | |
DebuggerSetup(); | |
} | |
private void DebuggerSetup() { | |
Debug.unityLogger.logEnabled = Debug.isDebugBuild; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment