Item / Weapon System
- Lewis Bailey
- Feb 12, 2024
- 1 min read
Required Packages
N/A
How To Use
You shouldn't need to touch any of the core scripts in this package, nor the Scriptable object scripts, as this can cause errors in the custom inspector.
ATTENTION When implementing into your own project make sure the "Data" folder is in the "Item-Weapon System/" directory and contains "Item", "Melee" and "Gun" folders as this is where it will create all of the different items and weapons.
At the top of the screen in the bar, there should be a Items button, clicking that will bring up a dropdown for the Item Database. Appon clicking that, given that you have followed the above you shouldn't get any errors.
When you click Add (Item, Melee, Gun) it should add a new item to the list below, and when you click on it. There should be a info page appear on the right, which shows all the details of that object. Then you have the options to save and delete that current item.
Once you have filled out the detials, if you go back to the folders, and go into "Data/(the item type you made) you should see a scriptable object, and when you click it, you should see in the inspector all of the detials for that item, layout nicely.
Comments