I am getting an object reference not set issue, and I am a newbie coder. Joystick refers to a script named joystick.js. Any help would be great.
Here is the code:
#pragma strict
var Stick: Joystick;
function Update ()
{
transform.Translate(Vector2.up * Time.deltaTime * Stick.position.x);
}