コード例 #1
0
 // Start is called before the first frame update
 public void Init(Func <Dictionary <string, string> > getPaths, LoadingView loadingView)
 {
     GetComponent <Button>().onClick.AddListener(() =>
     {
         loadingView.SetActiveState(true);
         AssetPackerMgr.Instance.GentatorNewAltas("Test", getPaths(), () => loadingView.SwitchScene(SceneName.Game.ToString()));
     });
 }