I am new to game dev and might be going about this all wrong, I am trying to use an event (Left mouse click) to fire a weapon.
It is fine when using 1 weapon, however I can’t isolate it when it comes to using 2 weapons.
When I press the left mouse click, both weapons fire, how do I make it so only 1 fires?
The number 1 key selects the 1st weapon.
The number 2 key selects the 2nd weapon.
Once a weapons is in hand, I want the left mouse click to only fire the weapon I have in hand.
Kind regards