CC#•Created by mjj on 1/15/2023 in #help ❔ Help
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Manager : MonoBehaviour
{
void Update()
{
if (Input.GetKey(KeyCode.X))
{
Application.Quit();
}
}
}
this should close the app instantly but it wont work when i press on x key