Add sound effects and audio clips for weapons and actions; implement shot and damage sounds

This commit is contained in:
2025-07-13 13:33:29 +02:00
parent 7519d67950
commit 0ca0aeae86
3557 changed files with 8596 additions and 1314011 deletions

View File

@@ -12,9 +12,10 @@ namespace Weapons
public override void Fire()
{
PlayShotSound();
var direction = (Target - (Vector2)firePoint.position).normalized;
firePoint.up = direction;
Debug.DrawLine(firePoint.position, Target, Color.red, 2f);
var projectile = Instantiate(projectilePrefab, firePoint.position, firePoint.rotation);
projectile.TryGetComponent<IDamageInflectorSetup>(out var inflector);