private void TweenFirst() { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0061: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) TweenPosition tween = FindCtrl(myTrans, UI.OBJ_TWEEN_BONUS_TIME).GetComponent <TweenPosition>(); Vector3 defaultFrom = default(Vector3); if (tween != null) { defaultFrom = tween.from; Vector3 from = defaultFrom; from.x = 350f; tween.from = from; } if (!(tweenCtrl == null)) { isActiveTap = false; tweenCtrl.Play(true, delegate { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) tween.from = defaultFrom; isActiveTap = true; }); } }
public void Open() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) this.get_gameObject().SetActive(true); tweenCtrl.Play(true, null); this.StartCoroutine(DoOpen()); }
public void Open() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) this.get_gameObject().SetActive(true); tweenCtrl.Play(true, null); currentFavorite = MonoBehaviourSingleton <UserInfoManager> .I.favoriteStampIds.ToArray(); currentUnlockStamps = Singleton <StampTable> .I.GetUnlockStamps(MonoBehaviourSingleton <UserInfoManager> .I); SetBlocker(true); this.StartCoroutine(DoOpen()); }
private void PlayAllCompleteAnimation(EventDelegate.Callback onFinished = null) { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) Transform ctrl = GetCtrl(UI.OBJ_COMPLETE); if (ctrl == null) { onFinished?.Invoke(); } else { SetActive(ctrl, true); UITweenCtrl component = ctrl.GetComponent <UITweenCtrl>(); if (component == null) { onFinished?.Invoke(); } else { SoundManager.PlayOneshotJingle(40000392, null, null); ParticleSystem component2 = GetCtrl(UI.OBJ_PARTICLE_2).GetComponent <ParticleSystem>(); component2.GetComponent <ParticleSystemRenderer>().get_sharedMaterial().set_renderQueue(4000); this.StartCoroutine(WaitAndDo(onFinished, CompleteAnimationTime)); component.Reset(); component.Play(true, null); } } }
public override void UpdateUI() { if (cardDataList != null && cardDataList.Count > 0) { if (currentCardIndex >= cardDataList.Count) { currentCardIndex = 0; } if (cardDataList[currentCardIndex].gridDataList.Count > 0) { int count = cardDataList.Count; SetActive((Enum)UI.OBJ_BTN_ROOT, false); if (isFirstUpdate) { isFirstUpdate = false; SetActive((Enum)UI.OBJ_COMPLETE, false); bool isCompleted = GetCurrentCard().allBingoData.isCompleted; SetActive((Enum)UI.OBJ_COMPLETE_STAY, isCompleted); if (isCompleted) { Transform ctrl = GetCtrl(UI.OBJ_COMPLETE_STAY); UITweenCtrl component = ctrl.GetComponent <UITweenCtrl>(); component.Reset(); component.Play(true, null); } } SetActive((Enum)UI.OBJ_BINGO_ANIMATION, false); for (int i = 0; i < count; i++) { UpdateCard(cardDataList[i], i); } } } }
private void LateUpdate() { if (coroutineLoadStamp == null && isLock) { lockTimer -= Time.get_deltaTime(); if (!(lockTimer > 0f)) { if (isOpen) { if (!NextAnnounce()) { isOpen = false; UITweenCtrl.Play(tweenCtrl, false, delegate { isLock = true; }, false, 0); lockTimer = 0.1f; } } else if (!NextAnnounce()) { panelChange.Lock(); } isLock = false; } } }
public override void Initialize() { //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_007b: Unknown result type (might be due to invalid IL or missing references) object[] array = GameSection.GetEventData() as object[]; skillItem = (array[0] as SkillItemInfo); material = (array[1] as SkillItemInfo[]); GameSection.SetEventData(new object[2] { ItemDetailEquip.CURRENT_SECTION.UI_PARTS, skillItem }); UILabel component = base.GetComponent <UILabel>((Enum)UI.LBL_GOLD); if (component != null) { goldColor = component.color; } UITweenCtrl component2 = GetCtrl(UI.OBJ_CAPTION).get_gameObject().GetComponent <UITweenCtrl>(); if (component2 != null) { component2.Reset(); int i = 0; for (int num = component2.tweens.Length; i < num; i++) { component2.tweens[i].ResetToBeginning(); } component2.Play(true, null); } isExceed = skillItem.IsLevelMax(); isSortTypeReset = isExceed; base.Initialize(); }
public void PlayRareFieldEnemy() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) this.get_gameObject().SetActive(true); TweenAlpha.Begin(this.get_gameObject(), 0f, 1f); if (rareBossTweenCtrl != null) { rareBossTweenCtrl.get_gameObject().SetActive(false); } if (fieldEnemyBossTweenCtrl != null) { fieldEnemyBossTweenCtrl.get_gameObject().SetActive(false); } if (tweenCtrl != null) { tweenCtrl.get_gameObject().SetActive(false); } fieldEnemyRareTweenCtrl.get_gameObject().SetActive(true); fieldEnemyRareTweenCtrl.Reset(); fieldEnemyRareTweenCtrl.Play(true, null); SoundManager.PlayOneshotJingle(40000031, null, null); int i = 0; for (int num = effect.Length; i < num; i++) { this.StartCoroutine(Direction(effect[i])); } }
public void Play(string announce, string reward, Action onComplete) { UIWidget component = base.GetComponent <UIWidget>((Enum)UI.WGT_ANCHOR_POINT); UITweenCtrl component2 = base.GetComponent <UITweenCtrl>((Enum)UI.OBJ_TWEENCTRL); if (component == null || component2 == null) { if (onComplete != null) { onComplete(); } } else { component.leftAnchor.Set(1f, 150f); component.rightAnchor.Set(1f, 300f); component.bottomAnchor.Set(1f, -130f); component.topAnchor.Set(1f, -105f); component.UpdateAnchors(); SetLabelText((Enum)UI.LBL_ANNOUNCE, announce); SetLabelText((Enum)UI.LBL_REWARD, reward); component2.Reset(); component2.Play(true, delegate { if (onComplete != null) { onComplete(); } }); PlayAudio(); } }
public void ShowSplendid() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) splendid.get_gameObject().SetActive(true); splendid.Reset(); SoundManager.PlayOneShotUISE(SE_ID_COMPLETE); splendid.Play(true, null); }
private IEnumerator DoPlayExceedAnimation() { yield return((object)new WaitForSeconds(0.3f)); Transform effTrans = GetCtrl(UI.OBJ_ADD_EXCEED); UITweenCtrl.Play(effTrans, true, null, false, 0); UITweenCtrl.Play(effTrans, true, null, false, 1); SoundManager.PlayOneShotUISE(40000157); }
private void _AnnounceStart() { UITweenCtrl.Reset(tweenCtrl, 0); UITweenCtrl.Play(tweenCtrl, true, delegate { isLock = true; }, false, 0); lockTimer = dispTime; isOpen = true; }
private void StartTween() { isFinished = false; isUpdateTween = true; grid.GetComponent <UIWidget>().SetAnchor(gridAncor); twCtrl.Reset(); twCtrl.Play(true, delegate { }); }
public void PlayTween(EaseDir type, bool forward = true, EventDelegate.Callback callback = null) { if (tweenAnimations != null) { UITweenCtrl uITweenCtrl = Array.Find(tweenAnimations, (UITweenCtrl t) => t.id == (int)type); if (uITweenCtrl != null) { uITweenCtrl.Reset(); uITweenCtrl.Play(forward, callback); } } }
private void PlayTweenComplete() { CardData currentCard = GetCurrentCard(); UITweenCtrl completeRewardTweenlCtrl = currentCard.completeRewardTweenlCtrl; if (!(completeRewardTweenlCtrl == null)) { SetActive(currentCard.completeRewardTweenlRoot, true); completeRewardTweenlCtrl.Reset(); completeRewardTweenlCtrl.Play(true, null); } }
private IEnumerator DoShowDialog(Desc desc) { isOpenDialog = true; window.SetActive(true); tweenCtrl.Reset(); if (dialogInfo.Length > desc.type) { windowTransform.set_parent(dialogInfo[desc.type].link); windowTransform.set_localPosition(Vector3.get_zero()); int n = 0; for (int m = sprites.Length; n < m; n++) { sprites[n].spriteName = dialogInfo[desc.type].spritesNames[n]; } messageLabel.effectColor = dialogInfo[desc.type].lineColor; } messageLabel.supportEncoding = true; messageLabel.text = desc.text; if (transitions != null) { int l = 0; for (int k = transitions.Length; l < k; l++) { transitions[l].Open(null); } } bool play_tween = true; tweenCtrl.Play(true, delegate { ((_003CDoShowDialog_003Ec__Iterator1C7) /*Error near IL_0201: stateMachine*/)._003Cplay_tween_003E__4 = false; }); yield return((object)new WaitForSeconds(desc.showTime)); while (play_tween) { yield return((object)null); } yield return((object)new WaitForSeconds(desc.showTime)); if (transitions != null) { int j = 0; for (int i = transitions.Length; j < i; j++) { transitions[j].Close(null); } } yield return((object)this.StartCoroutine(DoWaitTransitions())); isOpenDialog = false; }
public void OnGetPortalPoint() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Expected O, but got Unknown SetActiveSafe(addTween.get_gameObject(), true); addTween.Reset(); addTween.Play(true, delegate { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Expected O, but got Unknown SetActiveSafe(fullTween.get_gameObject(), false); }); }
private void Phase_StartWait() { //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Expected O, but got Unknown //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Expected O, but got Unknown if (0f >= waitSeconds) { phase = Phase.FadeIn; waitSeconds = 1.2f; UITweenCtrl.Reset(tweenCtrl.get_transform(), 0); UITweenCtrl.Play(tweenCtrl.get_transform(), true, null, false, 0); } }
public void Play(ANNOUNCE_TYPE type, string userName, Action onComplete) { SetActive((Enum)UI.WGT_ANCHOR_POINT, true); if (widget == null || tweenCtrl == null) { if (onComplete != null) { onComplete(); } } else { switch (type) { case ANNOUNCE_TYPE.CREATED_PARTY: { string text3 = StringTable.Get(STRING_CATEGORY.LOUNGE, 0u); SetLabelText((Enum)UI.LBL_ANNOUNCE, text3); break; } case ANNOUNCE_TYPE.JOIN_LOUNGE: { string text2 = StringTable.Get(STRING_CATEGORY.LOUNGE, 1u); SetLabelText((Enum)UI.LBL_ANNOUNCE, text2); break; } case ANNOUNCE_TYPE.LEAVED_LOUNGE: { string text = StringTable.Get(STRING_CATEGORY.LOUNGE, 2u); SetLabelText((Enum)UI.LBL_ANNOUNCE, text); break; } } SetLabelText((Enum)UI.LBL_USER_NAME, userName); SetFontStyle((Enum)UI.LBL_ANNOUNCE, 2); SetFontStyle((Enum)UI.LBL_USER_NAME, 2); tweenCtrl.Reset(); tweenCtrl.Play(true, delegate { if (onComplete != null) { onComplete(); } }); } }
public virtual void OnClickPopMenu() { tweenCtrl.Reset(); tweenCtrl.Skip(isPopMenu); isPopMenu = !isPopMenu; tweenCtrl.Play(isPopMenu, delegate { isLockReq = true; lockTimer = 0.1f; }); if (!isUnLock) { panelChange.UnLock(); isUnLock = true; } isLockReq = false; if (isPopMenu) { if (button != null) { button.normalSprite = buttonSpriteName[0]; } else if (buttonSprite != null) { buttonSprite.spriteName = buttonSpriteName[0]; } icons[0].SetActive(true); icons[1].SetActive(false); SoundManager.PlaySystemSE(SoundID.UISE.MENU_OPEN, 1f); } else { if (button != null) { button.normalSprite = buttonSpriteName[1]; } else if (buttonSprite != null) { buttonSprite.spriteName = buttonSpriteName[1]; } icons[0].SetActive(false); icons[1].SetActive(true); SoundManager.PlaySystemSE(SoundID.UISE.CANCEL, 1f); } }
private void InitializeCaption() { //IL_0024: Unknown result type (might be due to invalid IL or missing references) Transform ctrl = GetCtrl(UI.OBJ_CAPTION_3); SetLabelText(ctrl, UI.LBL_CAPTION, StringTable.Get(STRING_CATEGORY.TEXT_SCRIPT, 26u)); UITweenCtrl component = ctrl.get_gameObject().GetComponent <UITweenCtrl>(); if (component != null) { component.Reset(); int i = 0; for (int num = component.tweens.Length; i < num; i++) { component.tweens[i].ResetToBeginning(); } component.Play(true, null); } }
protected void InitializeCaption(string caption) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) Transform ctrl = GetCtrl(UI.OBJ_CAPTION_3); SetLabelText(ctrl, UI.LBL_CAPTION, caption); UITweenCtrl component = ctrl.get_gameObject().GetComponent <UITweenCtrl>(); if (component != null) { component.Reset(); int i = 0; for (int num = component.tweens.Length; i < num; i++) { component.tweens[i].ResetToBeginning(); } component.Play(true, null); } }
private void MoveToCenter(bool fromLeft, int cardIndex, EventDelegate.Callback OnEndEvent = null) { //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Unknown result type (might be due to invalid IL or missing references) CardData cardData = cardDataList[cardIndex]; Transform cardTransform = cardData.cardTransform; Vector3 localPosition = cardTransform.get_localPosition(); TweenPosition cardTween = cardData.cardTween; UITweenCtrl cardTweenCtrl = cardData.cardTweenCtrl; localPosition.x = ((!fromLeft) ? StandByX : (0f - StandByX)); cardTween.from = localPosition; localPosition.x = 0f; cardTween.to = localPosition; cardTweenCtrl.Reset(); cardTweenCtrl.Play(true, OnEndEvent); }
public void OpenTutorialFirstDelivery() { tweenStratCtrl.Reset(); tweenEndCtrl.Reset(); tweenStratCtrl.Play(true, delegate { SetState(MessageState.CollectItemImg); tweenEndCtrl.Play(true, delegate { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0017: Unknown result type (might be due to invalid IL or missing references) tweenStratCtrl.get_gameObject().SetActive(false); tweenEndCtrl.get_gameObject().SetActive(false); }); }); skilBtn.onClick.Clear(); skilBtn.onClick.Add(new EventDelegate(delegate { tweenStratCtrl.Skip(true); })); }
public void AttachCaption(UIBehaviour target_ui, int button_index, string caption) { //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) if (!string.IsNullOrEmpty(caption) && button_index != 0) { UI uI = (UI)(0 + button_index); Transform val = Attach(target_ui, GetCtrl(uI)); val.get_gameObject().set_name(UI.OBJ_CAPTION.ToString()); SetLabelText(val, UI.LBL_CAPTION, caption); UITweenCtrl component = val.get_gameObject().GetComponent <UITweenCtrl>(); if (component != null) { component.Reset(); int i = 0; for (int num = component.tweens.Length; i < num; i++) { component.tweens[i].ResetToBeginning(); } component.Play(true, null); } } }
public static void Play(Transform root, bool forward = true, EventDelegate.Callback callback = null, bool is_input_block = true, int tween_ctrl_id = 0) { UITweenCtrl uITweenCtrl = SearchTweenCtrl(root, tween_ctrl_id); if (!(uITweenCtrl == null)) { if (is_input_block) { MonoBehaviourSingleton <UIManager> .I.SetDisable(UIManager.DISABLE_FACTOR.UITWEEN_SMALL, true); } uITweenCtrl.Play(forward, delegate { if (is_input_block) { MonoBehaviourSingleton <UIManager> .I.SetDisable(UIManager.DISABLE_FACTOR.UITWEEN_SMALL, false); } if (callback != null) { callback(); } }); } }
public void ResetSpActionGaugeState() { //IL_000b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_004d: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Expected O, but got Unknown //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Expected O, but got Unknown //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Expected O, but got Unknown spActionGaugeADD_BOOST.sprite.get_gameObject().SetActive(false); spActionGaugeADD_HALF.sprite.get_gameObject().SetActive(false); UITweenCtrl.Reset(spActionGaugeInfo.root.get_transform(), 0); UITweenCtrl.Reset(spActionGaugeInfo.root.get_transform(), 1); UITweenCtrl.Reset(spActionGaugeInfo.root.get_transform(), 2); spActionGaugeInfo.state = 0; if (!(targetPlayer == null)) { if (targetPlayer.IsSpActionGaugeHalfCharged()) { spActionGaugeADD_HALF.sprite.get_gameObject().SetActive(true); if (spActionGaugeADD_HALF.sprite.get_gameObject().get_activeInHierarchy()) { UITweenCtrl.Play(spActionGaugeInfo.root.get_transform(), true, null, false, 1); spActionGaugeInfo.SetState(SpActionGaugeInfo.ANIM_STATE.HALF); } } if (targetPlayer.IsSpActionGaugeFullCharged()) { spActionGaugeInfo.SetState(SpActionGaugeInfo.ANIM_STATE.FULL); } } }
public void Play(Action callback = null) { if (!(tweenCtrl == null)) { SetVisible(true); tweenCtrl.Reset(); tweenCtrl.Play(true, delegate { isLockReq = true; lockTimer = lockInterval; if (callback != null) { callback(); } SetVisible(false); }); if (!isUnLock) { panelChange.UnLock(); isUnLock = true; } isLockReq = false; } }
private IEnumerator DoInitialize() { eventData = (SectionEventData)GameSection.GetEventData(); if (MonoBehaviourSingleton <InGameManager> .IsValid()) { portalData = Singleton <FieldMapTable> .I.GetPortalData(MonoBehaviourSingleton <InGameManager> .I.beforePortalID); } if (MonoBehaviourSingleton <OutGameSettingsManager> .IsValid() && portalData == null) { portalData = Singleton <FieldMapTable> .I.GetPortalData((uint)MonoBehaviourSingleton <OutGameSettingsManager> .I.homeScene.linkFieldPortalID); } if (eventData.IsQuestToField()) { portalData = Singleton <FieldMapTable> .I.GetPortalData(MonoBehaviourSingleton <FieldManager> .I.currentPortalID); } if (portalData == null) { base.Initialize(); } else { FieldMapTable.FieldMapTableData currentMapData = Singleton <FieldMapTable> .I.GetFieldMapData(portalData.srcMapID); newMapData = Singleton <FieldMapTable> .I.GetFieldMapData(portalData.dstMapID); regionId = newMapData.regionId; if (NeedDirectionOpenRegion()) { toRegionRelease = true; base.Initialize(); } else { if (currentMapData != null && newMapData != null && newMapData.regionId != currentMapData.regionId) { regionId = currentMapData.regionId; } if (newMapData == null || !IsValidRegion(newMapData)) { newMapData = null; base.Initialize(); } else { LoadingQueue loadQueue = new LoadingQueue(this); LoadObject loadedEventUIRoot = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "NewFieldOpenEventUIRoot", false); LoadObject loadedLocationSpot = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "LocationSpot", false); LoadObject loadedEventCamera = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "NewFieldEventCamera", false); LoadObject loadedFilterCamera = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "ZoomBlurFilterCamera", false); LoadObject loadedPlayerMarker = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "PlayerMarker", false); LoadObject loadedRegion = loadQueue.Load(RESOURCE_CATEGORY.WORLDMAP, "RegionMap_" + regionId.ToString("D3"), false); LoadObject loadedEffect = loadQueue.LoadEffect(RESOURCE_CATEGORY.EFFECT_UI, "ef_ui_map_fire_01", false); LoadObject loadedWindEffect = loadQueue.LoadEffect(RESOURCE_CATEGORY.EFFECT_ACTION, "ef_btl_bg_questmap_01", false); LoadObject loadedDungeonEff = null; if (eventData.IsFindNewDungeon() && newMapData != null) { uint mapID = newMapData.mapID; loadedDungeonEff = loadQueue.LoadEffect(RESOURCE_CATEGORY.EFFECT_DUNGEON, "DEF_" + mapID.ToString("D8"), false); } LoadObject loadedEncounterBossCutIn = null; if (eventData.IsEncounterBossEvent()) { loadedEncounterBossCutIn = loadQueue.Load(RESOURCE_CATEGORY.UI, "InGameFieldQuestWarning", false); } CacheAudio(loadQueue); if (loadQueue.IsLoading()) { yield return((object)loadQueue.Wait()); } if (loadedEncounterBossCutIn != null) { fieldQuestWarningRoot = ResourceUtility.Realizes(loadedEncounterBossCutIn.loadedObject, -1).get_gameObject(); UIPanel panel = fieldQuestWarningRoot.GetComponentInChildren <UIPanel>(); if (panel != null) { panel.depth = 8000; } if (MonoBehaviourSingleton <UIInGameFieldQuestWarning> .IsValid()) { MonoBehaviourSingleton <UIInGameFieldQuestWarning> .I.Load(loadQueue); } } if (loadQueue.IsLoading()) { yield return((object)loadQueue.Wait()); } topEffectPrefab = loadedEffect.loadedObject; Transform t = ResourceUtility.Realizes(loadedEventUIRoot.loadedObject, base._transform, -1); regionMapRoot = ResourceUtility.Realizes(loadedRegion.loadedObject, MonoBehaviourSingleton <AppMain> .I._transform, -1).get_gameObject().GetComponent <RegionMapRoot>(); if (regionMapRoot != null) { bool wait = true; regionMapRoot.InitPortalStatus(delegate { ((_003CDoInitialize_003Ec__Iterator164) /*Error near IL_0526: stateMachine*/)._003Cwait_003E__15 = false; }); while (wait) { yield return((object)null); } } blurFilter = (ResourceUtility.Instantiate <Object>(loadedFilterCamera.loadedObject) as GameObject).GetComponent <ZoomBlurFilter>(); blurFilter.get_transform().set_parent(base._transform); _camera = ResourceUtility.Realizes(loadedEventCamera.loadedObject, MonoBehaviourSingleton <AppMain> .I._transform, -1).GetComponent <Camera>(); uiFrontMapSprite = t.FindChild("FrontMap").get_gameObject().GetComponent <UITexture>(); if (uiFrontMapSprite != null) { uiFrontMapSprite.alpha = 0f; } uiMapSprite = t.FindChild("Map").get_gameObject().GetComponent <UITexture>(); InitMapSprite(MonoBehaviourSingleton <ScreenOrientationManager> .I.isPortrait); if (eventData.IsEncounterBossEvent()) { t.FindChild("TaptoSkip").get_gameObject().SetActive(false); } bgEventListener = UIEventListener.Get(t.Find("BG").get_gameObject()); tutorialTrigger = t.FindChild("TUTORIAL_TRIGGER"); if (tutorialTrigger != null) { if (!TutorialStep.HasAllTutorialCompleted()) { tutorialTrigger.get_gameObject().SetActive(true); UITweenCtrl.Play(tutorialTrigger, true, null, false, 0); } else { tutorialTrigger.get_gameObject().SetActive(false); } } spots = new SpotManager(null, loadedLocationSpot.loadedObject as GameObject, _camera); spots.spotRootTransform = t; playerMarker = ResourceUtility.Realizes(loadedPlayerMarker.loadedObject, -1); PlayerMarker playerMarkerCom = playerMarker.GetComponent <PlayerMarker>(); if (null != playerMarkerCom) { playerMarkerCom.SetCamera(_camera.get_transform()); } windEffect = ResourceUtility.Realizes(loadedWindEffect.loadedObject, _camera.get_transform(), -1).get_gameObject().GetComponent <rymFX>(); windEffect.Cameras = (Camera[])new Camera[1] { _camera }; windEffect.get_gameObject().set_layer(LayerMask.NameToLayer("WorldMap")); if (loadedDungeonEff != null) { dungeonOpenEffect = ResourceUtility.Realizes(loadedDungeonEff.loadedObject, base._transform, -1); dungeonOpenEffect.get_gameObject().SetActive(false); } CreateVisitedLocationSpot(); if (MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSceneName() == "InGameScene") { MonoBehaviourSingleton <ScreenOrientationManager> .I.OnScreenRotate += InitMapSprite; } base.Initialize(); } } } }
private IEnumerator DoGlowRegion(Vector3 from, Vector3 to) { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_001d: Unknown result type (might be due to invalid IL or missing references) yield return((object)new WaitForSeconds(0.5f)); Vector3Interpolator ip = new Vector3Interpolator(); Vector3 zoomDownTo = to + new Vector3(0f, 0f, -3f); ip.Set(1f, from, zoomDownTo, null, default(Vector3), null); ip.Play(); while (ip.IsPlaying()) { ip.Update(); worldMapCamera.targetPos = ip.Get(); yield return((object)null); } Transform toRegion = regionAreas[toRegionID]; toRegion.get_gameObject().SetActive(true); Renderer toRegionRenderer = toRegion.GetComponent <Renderer>(); toRegionRenderer.get_material().SetFloat("_Alpha", 0f); Renderer topRenderer = glowRegionTop.GetComponent <Renderer>(); topRenderer.get_material().SetFloat("_Alpha", 0f); topRenderer.get_material().SetFloat("_AddColor", 1f); topRenderer.get_material().SetFloat("_BlendRate", 1f); topRenderer.set_sortingOrder(2); glowRegionTop.get_gameObject().SetActive(true); DelayExecute(1f, delegate { //IL_000b: Unknown result type (might be due to invalid IL or missing references) ((_003CDoGlowRegion_003Ec__Iterator16E) /*Error near IL_0211: stateMachine*/)._003C_003Ef__this.mapGlowEffectA.get_gameObject().SetActive(true); Renderer component = ((_003CDoGlowRegion_003Ec__Iterator16E) /*Error near IL_0211: stateMachine*/)._003C_003Ef__this.mapGlowEffectA.GetComponent <Renderer>(); component.set_sortingOrder(1); }); yield return((object)new WaitForSeconds(1f)); ip.Set(1f, zoomDownTo, to, null, default(Vector3), null); ip.Play(); while (ip.IsPlaying()) { ip.Update(); worldMapCamera.targetPos = ip.Get(); yield return((object)null); } FloatInterpolator fip = new FloatInterpolator(); fip.Set(2f, 0f, 1.5f, null, 0f, null); fip.Play(); SoundManager.PlayOneShotUISE(SE_ID_SMOKE); while (fip.IsPlaying()) { fip.Update(); topRenderer.get_material().SetFloat("_Alpha", fip.Get()); yield return((object)null); } toRegionRenderer.get_material().SetFloat("_Alpha", 1f); mapGlowEffectParticleA.Stop(); mapGlowEffectB.get_gameObject().SetActive(true); yield return((object)new WaitForSeconds(0f)); fip.Set(0.2f, 1f, 0f, null, 0f, null); fip.Play(); while (fip.IsPlaying()) { fip.Update(); topRenderer.get_material().SetFloat("_Alpha", fip.Get()); yield return((object)null); } yield return((object)new WaitForSeconds(0f)); targetRegionIcon.get_gameObject().SetActive(true); TweenScale tweenScale = targetRegionIcon.GetComponent <TweenScale>(); tweenScale.PlayForward(); yield return((object)new WaitForSeconds(1f)); mapGlowEffectParticleB.Stop(); bool isTweenEnd = false; UITweenCtrl tweenCtrl = telop.GetComponent <UITweenCtrl>(); tweenCtrl.Reset(); tweenCtrl.Play(true, delegate { ((_003CDoGlowRegion_003Ec__Iterator16E) /*Error near IL_04df: stateMachine*/)._003CisTweenEnd_003E__7 = true; }); SoundManager.PlayOneShotUISE(SE_ID_LOGO); while (!isTweenEnd) { yield return((object)null); } yield return((object)new WaitForSeconds(0f)); Vector3 scaleBegin = playerMarker.get_localScale(); Vector3 scaleEnd = new Vector3(0f, 0f, 0f); ip.Set(0.5f, scaleBegin, scaleEnd, null, default(Vector3), null); ip.Play(); while (ip.IsPlaying()) { ip.Update(); playerMarker.set_localScale(ip.Get()); yield return((object)null); } RegionTable.Data targetData = openedRegionInfo[toRegionID].data; if (targetData != null) { playerMarker.set_localPosition(targetData.markerPos); } yield return((object)new WaitForSeconds(0.1f)); ip.Set(0.5f, scaleEnd, scaleBegin, null, default(Vector3), null); ip.Play(); while (ip.IsPlaying()) { ip.Update(); playerMarker.set_localScale(ip.Get()); yield return((object)null); } yield return((object)new WaitForSeconds(0.4f)); OnQuery_EXIT(); }