I am trying to create a mobile version for my game, but not able to target properly with the gun.
Whenever I Touch the fire button then gun is displaced from its position and not able to target properly.
is it possible that if we Touch the fire button and we restrict the game from taking it as a camera movement input and just as a button click (so that this will stop my weapon from moving)? Please provide me some solution.
For reference, I have attached a Loom video.
External Media