The animation plays at the start however when i leave the scene and come back, the animation does not play. It’s marked as legacy and i’ve tried to use code:
public GameObject The_Cam;
void Start()
{
Screen.SetResolution (1920, 1080, true);
The_Cam.GetComponent<Animation>().Play();
}
ignore the Screen.SetResolution (1920, 1080);
I’be used the animator component and used the animation component but both does not work.
The animation is on a camera