Mercurial > hg > Members > kazuma > JungleforUnity
annotate Assets/Application/Scripts/BoxItemInfo.cs @ 13:e297afe0889d default tip
Add Prefab.
author | Kazuma Takeda |
---|---|
date | Tue, 07 Feb 2017 20:49:26 +0900 |
parents | |
children |
rev | line source |
---|---|
13 | 1 using System.Collections; |
2 using System.Collections.Generic; | |
3 using UnityEngine; | |
4 | |
5 public class BoxItemInfo : ItemInfo { | |
6 | |
7 public string Type; | |
8 public int Broken = 2; | |
9 public int indexID = 0; | |
10 public int itemID = 1; | |
11 public string ColorCode = ""; | |
12 | |
13 public BoxItemInfo (int item_id, int broken, string type, string code) { | |
14 itemID = item_id; | |
15 this.Broken = broken; | |
16 Type = type; | |
17 ColorCode = code; | |
18 } | |
19 } |