Unity - Scriptable Wizzard tool to create weapon

Recently I was working on prototype game based on old school isometric games such as Fallout. I wanted to be able to create weapons quickly without having to copy and paste game objects. Using ScriptableWizzard base class helped me to achieve my goal. Thanks to that script I am able to quickly create new weapon from Unity editor.
Full code below.



CreateWeaponWizard must be inside Editor folder.





And Weapon class. Make sure you will place this class outside Editor folder.

Comments