示例#1
0
    public void LoadStage(string stageNum)
    {
        viewLoader.LoadViewName("QuestView");
        QuestView questView = viewLoader.CurrentView.GetComponent <QuestView>();

        questView.LoadStage(areaNum.ToString(), stageNum);
    }
示例#2
0
    private void BackHome()
    {
        Destroy(stageGO);
        viewLoader.LoadViewName("HomeView");
        HomeView homeView = viewLoader.CurrentView.GetComponent <HomeView>();
        int      areaNum  = int.Parse(currentArea);

        homeView.Initialize(areaNum);
    }