private void back2LoadingScene() { resetLoading(); if (!gameScene.activeInHierarchy) { return; } PoolMan.DespawnAll(); gameScene.transform.parent.gameObject.SetActive(false); // 关闭声音发送按钮 Commander.Shared.VoiceIconToggle(false); #if UNITY_EDITOR // // 切换房间测试逻辑 var rid = "59e744a6c3342612ea8fb53d"; var sid = "s%3AsF7HMvYzII20fOFynbzgvaJd8qAo09kk.IT7xTx2KDUjs2KPHZA6qmuj1FCC5ySCOR%2F8gYs69J7Q"; External.Instance.InitGame(rid + "&" + sid); // debugSetup(); #endif }