So I have a cube, and when I press the cube I want to activate an animation. Only problem is the animation is on a different object. Here is my code so far:
function OnMouseDown() {
if(GameObject.Find("Main Camera"))
animation.Play("Move_Camera1");
}