Esempio n. 1
0
 protected override void UpdateCombatAnimator()
 {
     base.UpdateCombatAnimator();
     isEquipping = IsAnimatorTag("IsEquipping");
     if (MeleeManager)
     {
         moveSetID = MeleeManager.GetMoveSetID();
         defenceID = MeleeManager.GetDefenseID();
     }
 }
Esempio n. 2
0
 protected virtual void UpdateMeleeAnimations()
 {
     if (cc.anime == null || meleeManager == null)
     {
         return;
     }
     cc.anime.SetInteger("AttackID", meleeManager.GetAttackID());
     cc.anime.SetInteger("DefenseID", meleeManager.GetDefenseID());
     cc.anime.SetBool("IsBlocking", isBlocking);
     cc.anime.SetFloat("MoveSet_ID", meleeManager.GetMoveSetID(), .2f, Time.deltaTime);
 }