1212
This commit is contained in:
commit
598e00c0b5
|
@ -13,6 +13,7 @@ public class GameMain : MonoBehaviour {
|
|||
|
||||
public static bool model =false;
|
||||
public static bool tiao =true;
|
||||
public static bool visit = false;
|
||||
private void Start()
|
||||
{
|
||||
GameObject.Find("UIRoot1").SetActive(false);
|
||||
|
|
|
@ -31,6 +31,7 @@ public class Judgmentstate : MonoBehaviour
|
|||
fanhui1.onClick.AddListener(() =>
|
||||
{
|
||||
GameMain.tiao = false;
|
||||
GameMain.visit = true;
|
||||
//SceneManager.LoadScene("SampleScene");
|
||||
OnLeaveRoom();
|
||||
});
|
||||
|
|
|
@ -8,7 +8,7 @@ using XFrame.Core.UI;
|
|||
|
||||
public class Main_interface_Panel : XUIPanel
|
||||
{
|
||||
public Button fanhui_btn;//返回初始界面
|
||||
public static Button fanhui_btn;//返回初始界面
|
||||
public Button train;
|
||||
public Button replay;
|
||||
public Button appQuet;
|
||||
|
|
|
@ -45,6 +45,7 @@ public class Taskpanel : MonoBehaviour
|
|||
fanhui.onClick.AddListener(() =>
|
||||
{
|
||||
GameMain.tiao = false;
|
||||
GameMain.visit = true;
|
||||
OnLeaveRoom();
|
||||
});
|
||||
two_dimensional.onClick.AddListener(() =>
|
||||
|
|
Loading…
Reference in New Issue