void OnMouseUp() { switch (gameObject.name) { case "Quit": Application.Quit(); break; case "Start": Application.LoadLevel(1); break; } }