S: DebugDisable, Turn off all Debug Logs in Runtime
Turn off all Debug Logs in your Release Build with this little #Script #ReadyToUseScripts for #Unity #GameDev #IndieDev #Indie #Asset #IndieGameDev #Development
Disable Debug Log to save Performance in Runtime DebugDisable.cs using UnityEngine; public class DebugDisable : MonoBehaviour { void Awake() { #if UNITY_EDITOR Debug.unityLogger.logEnabled = true; #else Debug.unityLogger.logEnabled = false; #endif } } Drag the Script on a GameObject inside the Scene that gets loaded on Startup. This will Disable the Debug unityLogger whenever the Build is…
View On WordPress














