Say I have a serialized item class. how would i go about augmenting an item? can it be done without changing all items called?
what i'm getting at is, how do I create an instance of an item that I can modify from the ItemDatabase?
or am I doing it wrong?
honest criticism encouraged.
here is the item class:
Question on Item buffs
what i'm getting at is, how do I create an instance of an item that I can modify from the ItemDatabase?
or am I doing it wrong?
honest criticism encouraged.
here is the item class:
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- [System.Serializable]
- public class Item {
- public string itemName;
- public int itemID;
- public string itemDesc;...