JavaScript variables are not shown in Unity Inspector

Hi!

I’m following a tutorial How to make a 2D Game. In this tutorial I’m learing how to make a ping-pong game.

There is a JavaScript for moving player object:

#pragma strict

var moveUp : KeyCode;
var moveDown : KeyCode;

var speed : float = 10;

function Update ()
{
if (Input.GetKey(moveUp))
{

}
else if (Input.GetKey(moveDown))
{

}
else
{

}
}

In the tutorial the variables are shown in the Untity Inspector panel, but I can’t get these to shown up on my Unity that I have installed on my Mac. I see only the Script name.

41150-screen-shot-2015-02-21-at-193547.png

There needs to be a space after #pragma

I started tutorial again from zero and the problem is gone.