IEnumerator DragonAppear() { BigDragon.SetActive(true); BackDragon.gameObject.SetActive(false); ForeDragon.gameObject.SetActive(true); ForeDragon.color = CHidden; MiniItween.ColorTo(ForeDragon.gameObject, new V4(Color.white), Dragon_Appear_Time, MiniItween.EasingType.Linear, MiniItween.Type.ColorWidget); yield return(new WaitForSeconds(Dragon_Word_Appear_Time)); //显示奥义Name DragonWord.Text = AoYiName; DragonWord.PlayAnimation(); yield return(new WaitForSeconds(Dragon_Word_Time)); BackDragon.gameObject.SetActive(true); BackDragon.color = new Color(1.0f, 1.0f, 1.0f, 0.5f); BackDragon.transform.localScale = Vector3.one; MiniItween.ScaleTo(BackDragon.gameObject, BG_DragonScale, Dragon_FadeOut_Time); MiniItween.ColorTo(BackDragon.gameObject, new V4(CHidden), Dragon_FadeOut_Time, MiniItween.EasingType.EaseInQuad, MiniItween.Type.ColorWidget); yield return(new WaitForSeconds(Dragon_Disappear_Time)); ForeDragon.gameObject.SetActive(false); //跳过闪电或火焰吗? if (!SkipLightAndFire) { Main3DManager main3d = BanBattleManager.Instance.main3DManager; Vector3 pos = Vector3.zero; if (DamageEnemy) { ShowFireOrLight(!WhoAttack, AoYiEfType.Blood_Light); if (!WhoAttack) { pos = main3d.Man_L.transform.position; main3d.Free2_Ban(true); } else { pos = main3d.Man_R.transform.position; main3d.Free2_Ban(false); } Hurt.transform.position = pos; } else { ShowFireOrLight(WhoAttack, AoYiEfType.Blood_Fire); if (WhoAttack) { pos = main3d.Man_L.transform.position; main3d.Free1_Ban(true); } else { pos = main3d.Man_R.transform.position; main3d.Free1_Ban(false); } SelfEnhanced.transform.position = pos; } } //播放结算的画面 if (playApOrBpAnim != null) { playApOrBpAnim(); } }