using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 物品类型。 /// public enum ItemType { /// 材料 Material, /// 装备 Equipment } /// /// 物品 - 数据 /// public class DataItem { /// 物品名称 public string name; /// 物品类型 public ItemType itemType; }