ItemRegistry

The Item Registry is a collection of all Item_SOs in your Project. Save & Load requires to access the stored references. When a file in your project is imported, deleted or moved, we need to check if it was an Item_SO, and properly reflect the changes into the ItemRegistry.

To retrieve an Item_SO by its name, refer to the following guide:

Get Item_SO from Item Registry By Name

using cowsins.SaveLoad; // Required to access ItemRegistry

Gather Item_SOs Programmatically based on the name.

ItemRegistry.GetItemByName(yourNameString);

Functions | DataPersistenceManager.cs

GetItemByName(string itemName)

Runtime access to get an item by its name

  • itemName: Name (string) of the Item to gather from the ItemRegistry.

Last updated