private void OpenView() { RepeatableQuestModel model = new RepeatableQuestModel(PlayerManager.Data.GetRepeatableQuestForWorld(BackendConstants.WORLD_BASE), AdManager.Instance); GameObject questUI = gameObject.InstantiateUI(QuestMenuPrefab); RepeatableQuestView view = questUI.GetComponent <RepeatableQuestView>(); view.Init(model); }
public void Init(RepeatableQuestModel i_model) { mQuestModel = i_model; SetModel(i_model.ViewModel); MissionUI.Init(mQuestModel.Mission); }