print out a string in debug.log unity code example Example 1: debug.log unity Debug.Log("Hello, World"); Example 2: debug log unity Debug.Log("Hello World");