mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
Shooting
This commit is contained in:
parent
1229613def
commit
341f76d885
17 changed files with 156 additions and 55 deletions
|
|
@ -52,8 +52,10 @@ public partial class PlayerWeaponModule3D : ModuleBase<PlayerState, CharacterBod
|
|||
return;
|
||||
}
|
||||
|
||||
if (!InputProvider.GetShootPressed()) return;
|
||||
WeaponProvider.Shoot(Storage.AimingDirection);
|
||||
if (InputProvider.GetShootPressed())
|
||||
{
|
||||
WeaponProvider.Shoot(Storage.AimingDirection);
|
||||
}
|
||||
}
|
||||
|
||||
private void HandleWeaponSwitch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue