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