So I just finished the 3D Buzz space shooter series, and I am just getting into Unity, though I have a basic programming experience.
I thought I'd try and learn some more by trying to do ship that could use multiple weapon types combined with multiple ammo types.
I've already spent some time working on this, but I am not sure I am going in the right direction. Somehow I've ended up using a base abstract WeaponBase class inheriting from ScriptableObject which I'm not sure is the right way to go. This weapon base is then inherited by at the moment two weapon types.
The source code is available at https://github.com/emir-/Unity3D-Space-Weapon-System.git
I was hoping that you guys could help me steer this simple prototype in the right way. What would be the simplest way to implement switchable weapons/weapon scripts that then calculate the way the projectiles are fired from the ship for example?
P.S. I hope this kind of question belongs here...