private IEnumerator DoMoveCamera(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) Vector3Interpolator ip = new Vector3Interpolator(); yield return((object)new WaitForSeconds(0.5f)); 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); } yield return((object)new WaitForSeconds(0f)); ip.Set(0.7f, from, to, null, default(Vector3), null); ip.Play(); while (ip.IsPlaying()) { ip.Update(); worldMapCamera.targetPos = 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(); }
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(); }