private void StartMeleeAttack(PlayerWeaponController controller, int attackTime, MeleeAttackInfo attackInfo,
                                      MeleeFireLogicConfig config)
        {
            controller.CreateSetMeleeAttackInfo(attackInfo, config);
            controller.CreateSetMeleeAttackInfoSync(attackTime);

            controller.AudioController.PlayMeleeAttackAudio(controller.HeldConfigId, (int)attackInfo.AttackType);
        }
Example #2
0
 private void StartMeleeAttack(PlayerWeaponController controller, int attackTime, MeleeAttackInfo attackInfo, MeleeFireLogicConfig config)
 {
     controller.CreateSetMeleeAttackInfo(attackInfo, config);
     controller.CreateSetMeleeAttackInfoSync(attackTime);
 }