This is the script i created and cant find out how to make animation play only for the main camera and not the words.
[11825-screen+shot+2013-06-09+at+5.36.02+pm.png|11825]
This is the script i created and cant find out how to make animation play only for the main camera and not the words.
[11825-screen+shot+2013-06-09+at+5.36.02+pm.png|11825]
If you want the animation to play after a mouse click occurs, the code will be similar to this:
//If left mouse button clicked, play animation
if (Input.GetMouseButtonDown(0))
{
animation.Play(/*Whatever your animation is, goes here.*/);
}