礼物特效层级修改提交

dev_one_discount
wangzhenxing 2023-09-20 16:33:01 +08:00
parent 5f6d51786d
commit b8a15b703b
3 changed files with 3 additions and 4 deletions

View File

@ -36,6 +36,7 @@ function this.UpdateBagData(_itemData, isNoSendNewItemEvent)
--
itemdata.itembackData = _itemData
itemdata.itemConfig = _itemCfgData
itemdata.configData = _itemCfgData
itemdata.id = _itemCfgData.Id
itemdata.property = {}
if _itemCfgData.ResourceID and _itemCfgData.ResourceID > 0 then

View File

@ -314,7 +314,7 @@ function this.SingleItemDataShow(_go, _itemData)
this.equipPreList[_go].gameObject:SetActive(true)
this.equipPreList[_go].transform:SetAsFirstSibling()
--if itemConfig[_itemData.id].ItemType == ItemType.Equip then
this.equipPreList[_go]:OnOpen(false,{_itemData.id,_itemData.num}, 1.1, true, false, false, orginLayer,_itemData.idDyn)
this.equipPreList[_go]:OnOpen(false,{_itemData.id,_itemData.num}, 1.1, true, false, false, this.sortingOrder+1,_itemData.idDyn)
-- 0.查看属性 1.穿戴 2.卸下 3.交换
--宝物界面
Util.AddOnceClick(Util.GetGameObject(_go.transform, "mask"),function()

View File

@ -134,11 +134,9 @@ function RoleGiftPanel:BindEvent()
end)
Util.AddOnceClick(this.allEquipDown,function()
LogError("allupids len 1111111111111111======"..#allUpIds)
isDown=true
NetManager.GiftEquipWearRequest(2,curHeroData.dynamicId,allUpIds,function()
isDown=false
LogError("allupids len======"..#allUpIds)
GiftManager.SetHeroGift(curHeroData.dynamicId,allUpIds,2)
this.RefreshWindowData()
end)
@ -365,7 +363,7 @@ function this.SingleItemDataShow(_go, _itemData)
this.equipPreList[_go].gameObject:SetActive(true)
this.equipPreList[_go].transform:SetAsFirstSibling()
--if itemConfig[_itemData.id].ItemType == ItemType.Equip then
this.equipPreList[_go]:OnOpen(false,{_itemData.id,_itemData.num}, 1.1, true, false, false, orginLayer,_itemData.idDyn)
this.equipPreList[_go]:OnOpen(false,{_itemData.id,_itemData.num}, 1.1, true, false, false, this.sortingOrder+1,_itemData.idDyn)
-- 0.查看属性 1.穿戴 2.卸下 3.交换
--宝物界面
Util.AddOnceClick(Util.GetGameObject(_go.transform, "mask"),function()