- Edited
Hey guys!
I am working on a 2D game with weapons.
I have a base weapon script here
And have a script for each weapon which extends the base weapon and has all the firing and reloading function in it.
Here:
I am happy I got close to it working but somehow the reload only works when pressing the reload button, but not automatically when the clip is empty.
Maybe you get a better look into the problem.
Also I'd love to get any input on what you think of it and if I maybe use some bad habits or really inefficient or unusual stuff that stings in your eye
Ready new to it.
Thanks for any help!