Unity 遊戲退到後臺和返回前臺的處理

private void OnApplicationPause(bool focus) { if (focus) { Debug.Log("進入後臺"); } else { Debug.Log("進入前臺"); } } 將
相關文章
相關標籤/搜索