using UnityEngine; using System.Collections; public class QuitGameOnClick : MonoBehaviour { public void ExitGame() { Application.Quit(); } }