private IEnumerator DoSetupGachaQuestTutorial() { if (m_home_top == null) { m_home_top = this.GetComponent <HomeTop>(); } LoadingQueue lo_queue = new LoadingQueue(this); LoadObject obj_target_area = lo_queue.Load(RESOURCE_CATEGORY.EFFECT_ACTION, "ef_btl_tutorial_area_01", false); if (lo_queue.IsLoading()) { yield return((object)lo_queue.Wait()); } prefab_target_area = obj_target_area.loadedObject; HidePassengers(); SetTargetAreaNPC(2); is_loading = false; }
public ActionResult IndexCache() { var topFields = this.fieldService .GetTopThree() .To<FieldDisplayViewModel>() .ToList(); var topComplexes = this.complexService .GetTopThree() .To<ComplexDisplayViewModel>() .ToList(); var model = new HomeTop { TopComplexes = topComplexes, TopFields = topFields }; return this.PartialView("_HomeCachePartial", model); }
private IEnumerator DoSetupTutorialAfterGacha2() { if (m_home_top == null) { m_home_top = this.GetComponent <HomeTop>(); } LoadingQueue lo_queue = new LoadingQueue(this); LoadObject obj_target_area = lo_queue.Load(RESOURCE_CATEGORY.EFFECT_ACTION, "ef_btl_tutorial_area_01", false); LoadObject obj_tutorial_dialog = lo_queue.Load(RESOURCE_CATEGORY.UI, "UI_TutorialHomeDialog", false); if (lo_queue.IsLoading()) { yield return((object)lo_queue.Wait()); } prefab_target_area = obj_target_area.loadedObject; prefab_dialog = obj_tutorial_dialog.loadedObject; HidePassengers(); SetDialog(DialogType.AFTER_GACHA2); is_loading = false; }