Scripting / Scriptable Objects
ItemsReferences
ScriptableObject that holds the master list of all Item assets in the project. Read by DatabaseManager at startup to populate the runtime item database. Do not query this asset directly from gameplay code — use PlayerInventory for runtime item operations.
Properties
| Property | Type | Description |
|---|---|---|
Items | IReadOnlyList<Item> | Read-only view of all registered item assets. |
Methods
| Method | Description |
|---|---|
Contains(Item item) | Returns true if the item is registered in this collection. |
Add(Item item) | Adds an item asset to the collection. Editor use only. |
RemoveAll(Predicate<Item> predicate) | Removes all items matching the predicate. Editor use only. |