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);
}
Debug.Log($"<color=yellow> roomState=={roomState.message}</color>");
//string RoomName = "createroom " + returnRoomId.data;
//_ = AdamSync.SyncCreateRoom.SendMessageAsync(RoomName);
string RoomName = "createroom " + returnRoomId.data;
_ = AdamSync.SyncCreateRoom.SendMessageAsync(RoomName);
}
else
{

View File

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