예제 #1
0
    void ShowTitle()
    {
        TitleView view = null;

        view = TitleView.Show(uiParent,
                              (_level) => {
            GetTitleData((_data) => {
                titleData = _data;
                inGame.StartGame(_level, new TitleConstData(titleData));
                Destroy(view.gameObject);
            });
        },
                              () => {
            ResultView resultView = null;
            resultView            = ResultView.Show(uiParent, () => {
                ShowTitle();
                Destroy(resultView.gameObject);
            });
            Destroy(view.gameObject);
        });
    }
예제 #2
0
 public void Show()
 {
     View.Show(GameModel.Instance.Models.HasModel);
 }