Debugging – Unity
There is a really neat way that you can turn on and off all your assistant testing code in a file. At the top of your file put the following code #define DEBUG_FILEASSIST and then put all you debugging and testing code within a similar set of hash tags thus, #if DEBUG_FILEASSIST private void OnDrawGizmos() { Debug.Log(“Text: “); if (Application.isPlaying) … Read more