Ejemplo n.º 1
0
 public DailyItem(string name2, int id2, string desc2, int value2, ItemType2 type2)
 {
     itemName2  = name2;
     itemID2    = id2;
     itemDesc2  = "일지";
     itemValue2 = value2;
     itemType2  = type2;
     itemIcon2  = Resources.Load <Sprite>(name2);
     itemModel2 = Resources.Load <GameObject>("DroppedItem");
 }
Ejemplo n.º 2
0
 public Item(string name, int ID, string desc, float s1, float s2, float s3, ItemType type, ItemType2 type2)
 {
     itemName  = name;
     itemID    = ID;
     itemDesc  = desc;
     itemIcon  = Resources.Load <Texture2D>("Item Icons/" + itemName);
     itemStat1 = s1;
     itemStat2 = s2;
     itemStat3 = s3;
     itemType  = type;
     itemType2 = type2;
 }