This commit is contained in:
YangHua 2023-11-22 18:14:59 +08:00
parent 88fe840255
commit 1a802163c0
2 changed files with 3 additions and 2 deletions

View File

@ -144,10 +144,10 @@ public class Taskpanel : MonoBehaviour
public void OnLeaveRoom()
{
_ = AdamSync.SyncCreateRoom.SendMessageAsync($"send2room offline,{GlobalFlag.currentUser.user_id}");
//_ = AdamSync.SyncCreateRoom.SendMessageAsync($"send2room offline,{GlobalFlag.currentUser.user_id}");
string _msg = "leaveroom ";
_ = AdamSync.SyncCreateRoom.SendMessageAsync(_msg);
SceneManager.LoadScene("SampleScene");
//SceneManager.LoadScene("SampleScene");
}
}

View File

@ -103,6 +103,7 @@ public class UIBootstrap : MonoSingleton<UIBootstrap>
{
GameManager.Instance.RemovePlayer(ulong.Parse(data[1]));
}
}
// Update is called once per frame