Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Question on Item buffs

$
0
0
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:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. [System.Serializable]
  5. public class Item {
  6.  
  7.     public string itemName;
  8.     public int itemID;
  9.     public string itemDesc;...
Question on Item buffs

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>