public void BasicSwing() { if (!target) { return; } if (!enemyWeapon) { return; } enemyWeapon.DoAttack(damage, contactForce, gameObject); PlayeQueuedSound(); //enemyWeapon.QueueSoundClip(audioSource, queuedAudioClip); //PlayeQueuedSound(); }
public void DoAttack() { weapon.DoAttack(); }