This commit is contained in:
parent
6548e490e8
commit
d7f3c80972
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue