赞
踩
void Update(){ if (Input.GetKey(KeyCode.Escape)) { #if UNITY_EDITOR UnityEditor.EditorApplication.isPlaying = false; #endif }}