神魂未激活图片修改提交

dev_chengFeng
jiaoyangna 2021-11-08 11:24:10 +08:00
parent abf8548cc9
commit 1329112387
2 changed files with 12 additions and 2 deletions

View File

@ -2395,7 +2395,7 @@ Animator:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6002405682149771119}
m_Enabled: 1
m_Enabled: 0
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: fc664216adddae14a9f0c535de68ce27, type: 2}
m_CullingMode: 0
@ -2434,7 +2434,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: b8edce2c7e5337742b17f23e6207f305, type: 3}
m_Sprite: {fileID: 21300000, guid: c2658e130a761bc4089e86824750a4dc, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

View File

@ -217,8 +217,18 @@ function RoleGodSoulLayout:UpdataSingleGod2(index)
self.gridList[index].godLvList[i] = newObjToParent(self.godPre,self.gridList[index].godGrid)
end
self.gridList[index].godLvList[i].gameObject:SetActive(true)
local shenhun = Util.GetGameObject(self.gridList[index].godLvList[i],"fx_shenhun")
local shenhunImage = Util.GetGameObject(self.gridList[index].godLvList[i],"godItem")
if index <= self.lv then
shenhun.gameObject:SetActive(true)
shenhunImage.gameObject:SetActive(false)
else
shenhun.gameObject:SetActive(false)
shenhunImage.gameObject:SetActive(true)
end
end
end
self.gridList[index].add.gameObject:SetActive(true)
self.gridList[index].addImage.gameObject:SetActive(true)
Util.SetGray(self.gridList[index].addImage,false)