-
-
Notifications
You must be signed in to change notification settings - Fork 23
2. First Steps
A useful tool to manage asset data. This system is capable of categorize and query assets to asynchronously load and unload items at runtime when it's needed. The Asset Manager is a unique object, a singleton that exists in the Editor and packaged projects.
You'll be using the Asset Manager to load/unload soft references.
Before starting using the plugin, you'll need to setup Asset Manager to work with the item datas:
- Go to Project Settings -> Game -> Asset Manager
- Create a new entry on Primary Asset Types to Scan
- Set Primary Asset Type to: ElementusInventory_ItemData
- Set Asset Base Class to: ElementusItemData
- Add Directories for each folder that will contain item datas in your project's content
- Expand Rules and set Cook Rule to Always Cook
This plugin adds 2 editor tools to assist the items management while developing a project.
This tool allows the user to create new Item Data in the target directory. The Asset Folder value is related to the directories added in the Asset Manager settings page (Item 5 of Configuration Steps).
Note: Item ID must be unique! This ID will be used by the plugin to load the items using the Asset Manager.
A custom window to view, search, filter and manage the existing item datas directly in Editor. This window contains a table listing all items in the registered directories ((Item 5 of Configuration Steps), allowing the developer to check the member values of each item.
Looking for the other pages of this documentation?
Check the upper right section of this wiki and expand this item: