unity print to console

C#
// To print in the console use "Debug.Log()"
Debug.Log("Text");
Source

Also in C#: