unity debug log to file code example Example 1: debug.log unity Debug.Log("Hello, World"); Example 2: debug log unity Debug.Log("Hello World");