Hey everyone, so I’m having some trouble getting an animation to play when i click the play button in the menu. The animation is set on the main camera to move its position to another. Thanks in advance.
public Animation FTH;
void MainMenu()
{
GUI.DrawTexture(new Rect(Screen.width / 2 - 475,-25,380,380),WOZ);
if(GUI.Button(new Rect(Screen.width / 2 - 55,220,110,45),"Play"))
{
animation.Play("FTH");
show = "PlayHouse";
}