using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour
{
#region Fields
private string instructionText = "Instruction:\nPress Left and Right Awrrows to move.\nPress Spacebar to fire."
private int buttonWidth = 200;
private int buttonHeight = 50;
#endregion
#region Properties
#endregion
#region Functions
void OnGui()
{
GUI.Label(new Rect(10, 10, 250, 200), instructionText);
if (GUI.Button(new Rect((Screen.width / 2) - (buttonWidth / 2),
Screen.height / 2 - buttonHeight / 2, buttonWidth, buttonHeight), "Start Game"));
{
Application.LoadLevel(1);
}
}
#endregion
}
sorry about what happen above and the double post but this is the code for my main menu.

Find content
Not Telling