This commit is contained in:
yulong 2023-11-22 18:15:17 +08:00
commit 84664e5a40
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