Loading main menu error!

My trial ends tomorrow. (5:40) I don’t know how to implement this Application.LoadLevel (“Main_Menu”); into my “drop out menu.” I want to be able to exit back to my main menu when I click the quit button.

I usually use this for loading menus, but I wanted to do something more professional:

	void OnGUI () {

		if (GUI.Button (new Rect (10, 550, 50, 50), "Menu")) // load Main menu
						Application.LoadLevel ("Main_Menu");
		}

Here is the tutorial: - YouTube

Here is my code:

`using UnityEngine;
using System.Collections;

public class pauseMenu : MonoBehaviour {

public GUISkin myskin;

private Rect windowRect;
private bool paused = false , waited = true;

private void Start() {

	windowRect = new Rect (Screen.width /2 - 100 , Screen.height / 2 - 100, 200, 200);
}

private void waiting() {

	waited = true;
}

private void Update () {

	if (waited)
	if (Input.GetKey (KeyCode.Escape) || Input.GetKey (KeyCode.P)) {

					if (paused)
							paused = false;
					else
							paused = true;

		waited = false;
		Invoke("waiting",0.3f);
			}

	if (paused)

					Time.timeScale = 0;
			else
					Time.timeScale = 1;
}

private void OnGUI() {

	if (paused)

		windowRect = GUI.Window (0,windowRect , windowFunc , "Pause Menu");
}

private void windowFunc(int id) {

	if (GUILayout.Button ("Resume")) {

		paused = false;
	}
	if (GUILayout.Button ("Options")) {

	}

	if (GUILayout.Button ("Quit")) {
                                                 // this is Where I want to implement when you click the "Quit" it will take you to the Main_Menu.

	}
}

}`

I don’t know much about loading levels with the GUI but I am trying to make a menu right now so I think I know what might work.I think you need to have your scene named Main_Menu then you just do Application.LoadLevel (“Main_Menu”);.But If you are more comfortable doing it a different way I would say just use the other way.

Hope this helps.