private IEnumerator PlayAnimation() { is_skip = false; PlayTween((Enum)UI.OBJ_TITLE, true, (EventDelegate.Callback)null, true, 0); SkipTween((Enum)UI.OBJ_TITLE, true, 0); animState = RESULT_ANIM_STATE.POINT; PlayTween((Enum)UI.OBJ_RUSH_POINT, true, (EventDelegate.Callback) delegate { SoundManager.PlayOneShotUISE(40000228); ((_003CPlayAnimation_003Ec__Iterator11C) /*Error near IL_0072: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.COUNT_UP; this.StartCoroutine(GetPointAnimation(delegate { ((_003CPlayAnimation_003Ec__Iterator11C) /*Error near IL_00d5: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; })); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.NEXT_REWARD; PlayTween((Enum)UI.OBJ_NEXT_REWARD, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11C) /*Error near IL_013e: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); SoundManager.PlayOneShotUISE(40000228); if (allPointEvents.pointRankingData.getReward.Count > 0) { animState = RESULT_ANIM_STATE.REWARD; PlayTween((Enum)UI.OBJ_GET_REWARD_ROOT, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11C) /*Error near IL_0195: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); } animState = RESULT_ANIM_STATE.END; VisibleEndButton(); }
private IEnumerator PlayAnimation() { is_skip = false; animState = RESULT_ANIM_STATE.TITLE; PlayAudio(AUDIO.ADVENT); PlayTween((Enum)UI.OBJ_TITLE, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_0073: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.WAVE; PlayAudio(AUDIO.ACHIEVEMENT); PlayTween((Enum)UI.OBJ_WAVE, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_00e8: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.TIME; PlayAudio(AUDIO.ACHIEVEMENT); PlayTween((Enum)UI.OBJ_TIME, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_015d: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } if (firstRewards.Length > 0) { animState = RESULT_ANIM_STATE.ARRIVAL; SetActive((Enum)UI.OBJ_ARRIVAL_EFFECT_ROOT, true); SetActive((Enum)UI.OBJ_ARRIVAL_BONUS, true); PlayAudio(AUDIO.ARRIVAL); PlayTween((Enum)UI.OBJ_ARRIVAL_EFFECT, true, (EventDelegate.Callback)null, false, 1); PlayTween((Enum)UI.OBJ_ARRIVAL_EFFECT, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_0221: stateMachine*/)._003C_003Ef__this.PlayAudio(AUDIO.ARRIVAL_WAVE); }, false, 2); PlayTween((Enum)UI.OBJ_ARRIVAL_EFFECT, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_0242: stateMachine*/)._003C_003Ef__this.PlayAudio(AUDIO.ARRIVAL_WAVE); }, false, 3); PlayTween((Enum)UI.OBJ_ARRIVAL_BONUS, true, (EventDelegate.Callback)null, false, 0); SetActive((Enum)UI.BTN_NEXT, true); is_skip = false; while (!is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.ARRIVAL_NEXT; PlayTween((Enum)UI.OBJ_ARRIVAL_EFFECT, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_02cc: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 4); while (animState != 0 && !is_skip) { yield return((object)null); } is_skip = false; SetActive((Enum)UI.OBJ_ARRIVAL_EFFECT_ROOT, false); SetActive((Enum)UI.OBJ_ARRIVAL_BONUS, false); } animState = RESULT_ANIM_STATE.TREASURE; PlayAudio(AUDIO.ACHIEVEMENT); if (pointShopResultData.Count > 0) { foreach (Transform item in GetCtrl(UI.OBJ_POINT_SHOP_RESULT_ROOT).get_transform()) { Transform t = item; PlayTween(t, true, null, true, 0); } } PlayTween((Enum)UI.OBJ_MONEY, true, (EventDelegate.Callback)null, true, 0); PlayTween((Enum)UI.OBJ_TREASURE_ROOT, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_041c: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } is_skip = false; animState = RESULT_ANIM_STATE.ITEM_ICON; this.StartCoroutine(PlayItemAnimation(delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_048b: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; })); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.EVENT; OpenAllEventRewardDialog(delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_04ec: stateMachine*/)._003C_003Ef__this.OpenMutualFollowBonusDialog(delegate { ((_003CPlayAnimation_003Ec__Iterator11F) /*Error near IL_04ec: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }); }); while (animState != 0 && !is_skip) { yield return((object)null); } is_skip = true; animState = RESULT_ANIM_STATE.END; VisibleEndButton(); }
private IEnumerator PlayAnimation() { is_skip = false; animState = RESULT_ANIM_STATE.TITLE; PlayAudio(AUDIO.ADVENT); PlayTween((Enum)UI.OBJ_TITLE, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_007b: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.DROP; PlayAudio(AUDIO.ACHIEVEMENT); if (pointShopResultData.Count > 0) { foreach (Transform item in GetCtrl(UI.OBJ_POINT_SHOP_RESULT_ROOT).get_transform()) { Transform t = item; PlayTween(t, true, null, true, 0); } } PlayTween((Enum)UI.OBJ_EXP, true, (EventDelegate.Callback)null, true, 0); PlayTween((Enum)UI.OBJ_MONEY, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_019a: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } if (!m_isTimeAttack) { animState = RESULT_ANIM_STATE.REMAIN_TIME; PlayTween((Enum)UI.OBJ_REMAIN_TIME, true, (EventDelegate.Callback) delegate { SoundManager.PlayOneShotUISE(40000228); ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_020f: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, false, 0); while (animState != 0 && !is_skip) { yield return((object)null); } if (isVictory) { if (m_rank == ARENA_RANK.SS) { SetActive((Enum)UI.OBJ_CONGRATULATIONS_ROOT, true); ResetTween((Enum)UI.OBJ_CONGRATULATIONS, 0); animState = RESULT_ANIM_STATE.CLEAR_EFFECT; ParticleSystem particle2 = GetCtrl(UI.OBJ_CONGRATULATIONS_PARTICLE).GetComponent <ParticleSystem>(); particle2.GetComponent <ParticleSystemRenderer>().get_sharedMaterial().set_renderQueue(4000); yield return((object)null); PlayAudio(AUDIO.ARRIVAL); PlayTween((Enum)UI.OBJ_CONGRATULATIONS, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_0315: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, true, 0); while (animState != 0 && !is_skip) { yield return((object)null); } } else { SetActive((Enum)UI.OBJ_RANK_UP_ROOT, true); ResetTween((Enum)UI.OBJ_RANK_UP, 0); animState = RESULT_ANIM_STATE.CLEAR_EFFECT; ParticleSystem particle = GetCtrl(UI.OBJ_PARTICLE).GetComponent <ParticleSystem>(); particle.GetComponent <ParticleSystemRenderer>().get_sharedMaterial().set_renderQueue(4000); yield return((object)null); PlayAudio(AUDIO.ARRIVAL); PlayTween((Enum)UI.OBJ_RANK_UP, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_03ff: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, true, 0); while (animState != 0 && !is_skip) { yield return((object)null); } } } } if (m_isTimeAttack) { animState = RESULT_ANIM_STATE.CLEAR_TIME_COUNT_UP; this.StartCoroutine(PlayCountUpClearTimeAnim(MonoBehaviourSingleton <InGameProgress> .I.GetArenaElapsedTime(), delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_047c: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; })); while (animState != 0 && !is_skip) { yield return((object)null); } if (IsBreakRecord()) { animState = RESULT_ANIM_STATE.BEST_SCORE; PlayAudio(AUDIO.ARRIVAL); SetActive((Enum)UI.SPR_BESTSCORE, true); PlayTween((Enum)UI.SPR_BESTSCORE, true, (EventDelegate.Callback) delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_0518: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }, true, 0); while (animState != 0 && !is_skip) { yield return((object)null); } } } animState = RESULT_ANIM_STATE.EVENT; OpenAllEventRewardDialog(delegate { ((_003CPlayAnimation_003Ec__Iterator11) /*Error near IL_0576: stateMachine*/)._003C_003Ef__this.animState = RESULT_ANIM_STATE.IDLE; }); while (animState != 0 && !is_skip) { yield return((object)null); } animState = RESULT_ANIM_STATE.END; VisibleEndButton(); }