Hey all. I have this script where when I click an object, it plays an animation where the camera zooms to it. However, it's not playing the animation. I'm not sure what the problem is. Can anyone help? I'm not getting errors, It just won't play the animation.
function OnMouseDown() {
if(tag == "mercury"){
{
animation.Play("movetomercury");
}
}
}
Trending Articles
More Pages to Explore .....