A leap of faith
The first piece of code (the first line of our Script) looks like this:
#pragma strict
What on Earth does that mean? We've been hit with confusing nerd talk right out of the gate. The simple explanation for this line is that it makes writing your code more fussy, but your code runs faster. We'll learn what that's all about later; for now, turn your attention further down to the Start function:
function Start () { }
Click to place your cursor after the first curly brace, and press the Enter key to make some space between the top and bottom curly braces. Press the Tab key to indent, to make your code look pretty, if the editor doesn't automatically do it for you. Then, type a single line of code so that your Script looks like this:
function Start () {
renderer.enabled = false;
}
You'll notice that as you type each word in this line of code, entire drop-down lists pop open with a dizzying list of strange-looking options. This is called Code Hinting, and while it may seem annoying...