3 using System.Collections.Generic;
 
   13     Dictionary<string, Item> _items = 
new Dictionary<string, Item>();
 
   18         _items = Resources.LoadAll<
Item>(
"").ToDictionary(i => i.name);
 
   29         if (_instance._items.ContainsKey(
id))
 
   30             item = _instance._items[
id] as T;
 
static T GetItem< T >(string id)
Returns the Item of type T of a given ID. T must be either Item or a class derived from Item...
 
A Class for storing items. Can be used as is or be derived from. See GemItem or GuardianWeapon for ex...
 
A class that loads all Item Serializeable Objects from the Resources folder and provides the ability ...