The New Item Wizard (Editor tool)
Example editor tool to manage / update the game data.
Last updated
Example editor tool to manage / update the game data.
Last updated
Included in the Sample project is an editor tool that allows you to quickly add elements into the GameData scriptable object.
As you might guess, if you have a lot of items in your game (weapons / creature etc), adding them all into the scriptable object GameData AND spreadsheet can become a bit laborious.
This tool is designed to simplify the process.
The first thing we want to do is create all of the prefabs for the raw assets (FBX files) in the game.
Simply multi-select the objects and then drag & drop onto the New Item window above (in the drag & drop area).
This will show you a list of all of the prefabs that you are going to create, like so:
Clicking the 'Create' button at the bottom will create prefabs for all of the FBX files (in the _Game/GameData/Prefabs folder) and ALSO adds their corresponding entries into the GameData Scriptable Object!