I want to make a DOOM-style gun system where the player start with all the guns and can switch between them and the sprite change to the corresponding weapon and the player then use the script of that weapon. How can i do that?
also the gun have 2D sprites and they are operated by a script