I made a script and I want to make my game quit, but this does not work. How should I go to make the app quit?
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class LevelManager : MonoBehaviour {
public int Index;
public void SceneLoad()
{
SceneManager.LoadScene(Index);
}
public void Quit()
{
Application.Quit;
}
}