This commit is contained in:
parent
d7f3c80972
commit
2f4c3cc04b
|
@ -355,7 +355,7 @@ public class GameManager : MonoSingleton<GameManager>
|
|||
private void OnDisable()
|
||||
{
|
||||
Debug.Log("OnDisable");
|
||||
//Leaverroom();
|
||||
Leaverroom();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -116,8 +116,6 @@ public class UIBootstrap : MonoSingleton<UIBootstrap>
|
|||
|
||||
public void OnLeaveRoomInfo(string msg)
|
||||
{
|
||||
string[] data = msg.Split(',');
|
||||
Debug.Log(data[1]);
|
||||
_ = AdamSync.SyncCreateRoom.SendMessageAsync($"send2world {GlobalFlag.currentUser.user_id}");
|
||||
SceneManager.LoadScene("SampleScene");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue