Like this: public class QuitManager : MonoBehaviour { void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); } } }.
確定! 回上一頁