public Upgrade(string name, InventoryResources cost = null) { this.Name = name; this.Cost = cost ?? new InventoryResources(); }
private void OnEnable() { repository = Resources.Load <InventoryResources>("ScriptableObjects/InventoryResources"); }