This commit is contained in:
YangHua 2023-11-23 21:19:48 +08:00
parent 6548e490e8
commit d7f3c80972
2 changed files with 5 additions and 5 deletions

View File

@ -761,8 +761,8 @@ public class View_Panel2 : XUIPanel
CreateRoomBase(returnRoomId.data, currentRoomName); CreateRoomBase(returnRoomId.data, currentRoomName);
} }
Debug.Log($"<color=yellow> roomState=={roomState.message}</color>"); Debug.Log($"<color=yellow> roomState=={roomState.message}</color>");
//string RoomName = "createroom " + returnRoomId.data; string RoomName = "createroom " + returnRoomId.data;
//_ = AdamSync.SyncCreateRoom.SendMessageAsync(RoomName); _ = AdamSync.SyncCreateRoom.SendMessageAsync(RoomName);
} }
else else
{ {

View File

@ -355,7 +355,7 @@ public class GameManager : MonoSingleton<GameManager>
private void OnDisable() private void OnDisable()
{ {
Debug.Log("OnDisable"); Debug.Log("OnDisable");
Leaverroom(); //Leaverroom();
} }
@ -364,8 +364,8 @@ public class GameManager : MonoSingleton<GameManager>
{ {
SyncCreateRoom.getroomusersRequset -= OnGetRoomUsers; SyncCreateRoom.getroomusersRequset -= OnGetRoomUsers;
SyncCreateRoom.send2roomRequset -= OnRoomInfo; SyncCreateRoom.send2roomRequset -= OnRoomInfo;
//string _msg = "leaveroom "; string _msg = "leaveroom ";
//_ = AdamSync.SyncCreateRoom.SendMessageAsync(_msg); _ = AdamSync.SyncCreateRoom.SendMessageAsync(_msg);
} }
} }