void OnToObtain() { ItemDataManager itemManger = new ItemDataManager(); ItemDataManager.ItemData itemData = itemManger.getItemDataByID(_dataUnit.chipId); UIController.instance.CreatePanel(UICommon.UI_PANEL_NORMALPROP, itemData); }
//获取 void OnObtain() { ItemDataManager itemManger = new ItemDataManager(); ItemDataManager.ItemData itemData = itemManger.getItemDataByID(_heroData.heroUpgradeData.itemId); UIController.instance.CreatePanel(UICommon.UI_PANEL_NORMALPROP, itemData); }