public static void ShowItem(this ItemComponent itemComponent, int serialId, int itemId, Type logicType, object userData = null)
        {
            ItemData itemData = GameEntry.Data.GetData <Data.DataItem>().GetItemData(itemId);

            if (itemData == null)
            {
                Log.Warning("Can not load item id '{0}' from data table.", itemData.Id.ToString());
                return;
            }

            itemComponent.ShowItem(serialId, logicType, itemData.AssetPath, itemData.ItemGroupData.Name, Constant.AssetPriority.ItemAsset, userData);
        }
 public static void ShowItem(this ItemComponent itemComponent, int serialId, EnumItem enumItem, Type logicType, object userData = null)
 {
     itemComponent.ShowItem(serialId, (int)enumItem, logicType, userData);
 }
 public static void ShowItem <T>(this ItemComponent itemComponent, int serialId, int itemId, object userData = null)
 {
     itemComponent.ShowItem(serialId, itemId, typeof(T), userData);
 }
 public static void ShowItem(this ItemComponent itemComponent, int serialId, EnumItem enumItem, object userData = null)
 {
     itemComponent.ShowItem(serialId, enumItem, null, userData);
 }