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