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