console otput in unity code example
Example 1: unity print to console
// To print in the console use "Debug.Log()"
Debug.Log("Text");
Example 2: debug.log unity
Debug.Log("Hello, World");
// To print in the console use "Debug.Log()"
Debug.Log("Text");
Debug.Log("Hello, World");