whenever i hit the play button i receive an error that says
NullReferenceException: Object reference not set to an instance of an object
dovemoveup.Update () (at Assets/dovemoveup.js:11)
this is the script
var timer : Countdown;
var anim : Animator;
function Start ()
{
anim = GetComponent("Animator");
}
function Update ()
{
if(timer.time <= 0f);
{
anim.SetBool("open",true);
}
}