namespace Scripts.ButtonUI { using UnityEngine; public class ExitScene : MonoBehaviour { // Start is called before the first frame update public void Exit() { Application.Quit(); } } }