Example #1
0
    public void GoToYuLanScene()
    {
        DataLoadSaveControl dataLoad = GameObject.FindObjectOfType <DataLoadSaveControl>();

        dataLoad.SaveBtn();

        SceneManager.LoadScene(SceneName.newPreviewScene);
        //跳转到 预览场景
        SceneManager.LoadScene("newNTPreview");
    }
Example #2
0
 /// <summary>
 /// 加载
 /// </summary>
 /// <param name="dataLoadSaveControl"></param>
 public void Btn_LoadData(DataLoadSaveControl dataLoadSaveControl)
 {
     cad.SetActive(false);
     print("加载");
     dataLoadSaveControl.ReadBtn();
 }