UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"quit game on button click"
public class GameQuit : MonoBehaviour { // Update is called once per frame void Update () { if (Input.GetKeyDown (KeyCode.Escape)) Application.Quit (); } }