Hi im trying to make a game in which the splashscreen is a set of pics which go on . im trying to to that after 10 seconds (that is the amount of time the pictures will take to get over) i want to load a new scene but the code i wrote it directly goes to the MainMenu scene. This is my code
#pragma strict
function Start ()
{
Application.LoadLevel("SplashScreen");
}
function Update ()
{
WaitForSeconds (10);
Application.LoadLevel("MainMenu");
}
wht do i do?? Pls help