Splash Screen to Menu (C#)

I have set up my splash screen which will be 2 logos (company and game) and now want it to move to the main menu.
Cant seem to work it out to move from my second logo screen to main menu.
This is the code I set for it (in C#)

public class Delay : MonoBehaviour {
	public float delayTime = 3;
	IEnumerator Start () {
		yield return new WaitForSeconds (delayTime);
		Application.LoadLevel (1);
	}

Any help would be appreciated

LoadLevel will take number from your build settings. So make sure your main menu scene is correctly selected.
Secondly, you didn’t tell that if your logos are in different scenes or one scene with two logos. If there are two different scenes you either have to apply this script to them correctly, or put a DontDestroyOnLoad, which may cause problems once you reach main menu, where you will have to destroy or deactivate this script.

You can still use this method to show your logos even if they are in separate scenes. All you have to do is to make a public variable to set the scene it will load after showing your logo. I will use string instead of int to be more specific.

public class Delay : MonoBehaviour {
    public string sceneToLoad;
    public float delayTime = 3;
    IEnumerator Start () {
        yield return new WaitForSeconds (delayTime);
        Application.LoadLevel (sceneToLoad);
    }
}

Then assign in each scene the name of the scene that you want to load after it.

Let’s say your first logo is in scene “Logo1”, your second logo is in scene “Logo2” and the main menu is in scene “MainMenu”. Just open your scene “Logo1” and set the variable sceneToLoad in the inspector to Logo2 as it is the scene you want to load from there. Then go to your scene “Logo2” and set that variable, in the inspector as well, to MainMenu.