protected override void UpdateCombatAnimator() { base.UpdateCombatAnimator(); isEquipping = IsAnimatorTag("IsEquipping"); if (MeleeManager) { moveSetID = MeleeManager.GetMoveSetID(); defenceID = MeleeManager.GetDefenseID(); } }
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); }