diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/BoxItemInfo.cs	Tue Feb 07 20:49:26 2017 +0900
@@ -0,0 +1,19 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class BoxItemInfo : ItemInfo {
+
+	public string Type;
+	public int Broken = 2;
+	public int indexID = 0;
+	public int itemID = 1;
+	public string ColorCode = "";
+
+	public BoxItemInfo (int item_id, int broken, string type, string code) {
+		itemID      = item_id;
+		this.Broken = broken;
+		Type = type;
+		ColorCode = code;
+	}
+}