rewr
This commit is contained in:
parent
3ac7c43f30
commit
c2631e5374
|
@ -146,7 +146,7 @@ public class Taskpanel : MonoBehaviour
|
|||
{
|
||||
string _msg = "leaveroom ";
|
||||
_ = AdamSync.SyncCreateRoom.SendMessageAsync(_msg);
|
||||
//SceneManager.LoadScene("SampleScene");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ using PData;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class UIBootstrap : MonoSingleton<UIBootstrap>
|
||||
{
|
||||
|
@ -90,11 +91,12 @@ public class UIBootstrap : MonoSingleton<UIBootstrap>
|
|||
string[] data = msg.Split(',');
|
||||
Debug.Log(data[1]);
|
||||
_ = AdamSync.SyncCreateRoom.SendMessageAsync($"send2world {GlobalFlag.currentUser.user_id}");
|
||||
SceneManager.LoadScene("SampleScene");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
Debug.Log("OnDisable");
|
||||
|
|
Loading…
Reference in New Issue