Пример #1
0
 private void StartAnimationGrowStepText()
 {
     if (MonsterGrowStepData.IsChild1Scope(this.growStep))
     {
         this.growAnimator.SetTrigger("Child_1");
     }
     else if (MonsterGrowStepData.IsChild2Scope(this.growStep))
     {
         this.growAnimator.SetTrigger("Child_2");
     }
     else if (MonsterGrowStepData.IsGrowingGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Growing");
     }
     else if (MonsterGrowStepData.IsRipeGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Ripe");
     }
     else if (MonsterGrowStepData.IsPerfectGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Perfect");
     }
     else if (MonsterGrowStepData.IsUltimateGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Ultimate");
     }
     else if (MonsterGrowStepData.IsArmorGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Armor");
     }
     else if (MonsterGrowStepData.IsHybridGroup(this.growStep))
     {
         this.growAnimator.SetTrigger("Hybrid");
     }
 }