For the first task in unity we were tasked to learn the flow of the unity layout to do this we were tasked with getting a script to Debug Hello World.
First, I made an empty object to put my script on then, I made a script and added a debug.log onto it that would output Hello, World.
Output:
Use:
Debug.Log is used to debug a piece of code so you can put the code your running in the debug and it would show how that code is being used.