I’m trying to make a button based text rpg and i have a lot of questions the first being I made a menu for my game with a New game, load, save and quit button.
When i click the exit button, nothing happens, did i do it wrong?
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void QuitGame () {
Application.Quit ();
Debug.Log("Game is exiting");