public void LoadStage(string stageNum) { viewLoader.LoadViewName("QuestView"); QuestView questView = viewLoader.CurrentView.GetComponent <QuestView>(); questView.LoadStage(areaNum.ToString(), stageNum); }
private void BackHome() { Destroy(stageGO); viewLoader.LoadViewName("HomeView"); HomeView homeView = viewLoader.CurrentView.GetComponent <HomeView>(); int areaNum = int.Parse(currentArea); homeView.Initialize(areaNum); }