【自选宝箱】无特效修改

dev_chengFeng
ZhangBiao 2021-04-01 20:22:15 +08:00
parent 28c8ee841d
commit 4927a85f01
2 changed files with 3 additions and 1 deletions

View File

@ -2637,7 +2637,7 @@ MonoBehaviour:
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 10758, guid: 0000000000000000f000000000000000, type: 0} m_Material: {fileID: 2100000, guid: 9f6415c5993d0154eba0d2d3bd1ffe93, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_OnCullStateChanged: m_OnCullStateChanged:

View File

@ -166,6 +166,8 @@ function RewardBoxPanel:SetSingleGiftData(index,item,boxId,tagNum)
itemIconList[item] = view itemIconList[item] = view
end end
itemIconList[item]:OnOpen(false,rewardGroup[boxId].ShowItem[index],1,false) itemIconList[item]:OnOpen(false,rewardGroup[boxId].ShowItem[index],1,false)
itemIconList[item].gameObject:SetActive(true)
itemIconList[item]:SetEffectLayer(self.sortingOrder)
tip.text = GetLanguageStrById(itemConfig[rewardGroup[boxId].ShowItem[index][1]].Name) tip.text = GetLanguageStrById(itemConfig[rewardGroup[boxId].ShowItem[index][1]].Name)
--判断是否是在背包界面打开 --判断是否是在背包界面打开