Have to repeatedly click left mouse for firing and still no shooting

what should i do when holding the left mouse click does not perform continuous laser

i figured it out ,if you are using Input.GetButtonDown , you will have to click repeatdly to shoot or fire , this is useful for pistol or missile system

but

if you use Input.GetButton , you will have a holding effect causing laser to shoot continuously , this use for assault rifle or machine gun type weapon

I thought this might be useful , so i left it here , I am writing this because I figured it out after asking this question

Thanks a lot for sharing your solution! :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms