| | |
| | | {
|
| | | m_EffectLines[i].effect = model.GetRealmLineEffect(realms[i]);
|
| | | m_EffectLines[i].Play();
|
| | | var animator = m_EffectLines[i].target.GetAnimator();
|
| | | animator.Play("idle", 0, 0);
|
| | | if (m_EffectLines[i].target != null)
|
| | | {
|
| | | var animator = m_EffectLines[i].target.GetAnimator();
|
| | | animator.Play("idle", 0, 0);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | m_EffectLines[index].effect = model.GetRealmLineEffect(model.displayRealmLevel - 1);
|
| | | m_EffectLines[index].Play();
|
| | | var animator = m_EffectLines[index].target.GetAnimator();
|
| | | animator.Play("open", 0, 0);
|
| | | yield return WaitingForSecondConst.WaitMS500;
|
| | | animator.Play("idle", 0);
|
| | | if (m_EffectLines[index].target != null)
|
| | | {
|
| | | var animator = m_EffectLines[index].target.GetAnimator();
|
| | | animator.Play("open", 0, 0);
|
| | | yield return WaitingForSecondConst.WaitMS500;
|
| | | animator.Play("idle", 0);
|
| | | }
|
| | |
|
| | | var realmStage = GetRealmStageBeha(index + 1);
|
| | | if (realmStage != null)
|