Let's start with a classic: Hello world! Every programmer starts off creating this basic program that displays text on screen.
We want the message "Hello, world!" to appear when the game starts. We'll need to create the script for this, then attach that script to a game object.
First, place a game object on the stage, then right-click on it and choose "Add script".