Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Code to disable Debug.log

#if UNITY_EDITOR
 Debug.logger.logEnabled = true;
 #else
 Debug.logger.logEnabled = false;
 #endif
 
PREVIOUS NEXT
Tagged: #Code #disable
ADD COMMENT
Topic
Name
4+8 =