using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenu : MonoBehaviour { public void Leave(){ Application.Quit(); } void Start(){ // MessageBox.ShowMessage("Welcome to Infinite Golf 2D.\nThis is a slow paced 2d endless golf game, All the levels are proceduraly generated and you will be rewarded for putting the ball in every and each hole.\n\nGood Luck","Welcome"); } }