Hey guys!
I just found this amazing piece of code, that can help alot of people. I didn't write this myself (Usually I only post my own work) but I found the author of this code did a great job, because its simple, yet very a powerful to get a gun to shoot in your FPS game, and customize the way it shoots in many ways, including muzzle flash, fire rate, bullet type, etc.
Gun script (unity forum) [You must be registered and logged in to see this link.]
I just found this amazing piece of code, that can help alot of people. I didn't write this myself (Usually I only post my own work) but I found the author of this code did a great job, because its simple, yet very a powerful to get a gun to shoot in your FPS game, and customize the way it shoots in many ways, including muzzle flash, fire rate, bullet type, etc.
Gun script (unity forum) [You must be registered and logged in to see this link.]