Weapons Manager

So I began working with this company in helping create a video game. I was given the task to create a system for weapons. He recommeneded looking into a Weapon Manager.


I am very new to the Unity scene but do have a coding background though. So from what I understand you have a game manager which tracks statistics of the game throughout the scenes. So I will somehow use this to keep track of the weapons the character has along with what upgrades are on them.


He wants the weapons to be very customizable in which they will upgrade dmg, fire rate, accuracy etc.
currently i have a generic weapons script which has attributes all weapons will have. From here I will need to create a script which will manage this script and keep track of it.


Just looking for a push in the right direction or given an idea of what I should be looking at or aiming to make.

Not a complete answer for you, but you’ll probably use inheritance to create a class of weapon, and ( possibly sub-classes for categories of weapons) and sub-classes for individual types weapons. You should look at using json to record and define the capabilities of weapons class in text files, so that you easily add new weapons and types, and just read those into your class instances. Scriptable objects may also be something you want to investigate.