Hey Im trying to play a camera movement animation but nothing happens when pressing spacebar. I have checked the inputs also and there is named " Jumped " Positive button space, theres no errors so what cud be wrong ? : (
var theAnimation : AnimationClip;
function OnTriggerStay () {
if (Input.GetKeyDown("Jump")) {
animation.Play();
}
}