建木神树图片修改提交

dev_chengFeng
jiaoyangna 2021-09-16 17:10:39 +08:00
parent d9c2f3451b
commit f127a0e858
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ function Practice:InitComponent()
self.mask = Util.GetGameObject(self.gameObject, "mask")
self.treeBtn = Util.GetGameObject(self.gameObject, "Btns/treeBtn")
Util.GetGameObject(self.treeBtn,"treebtn"):GetComponent("Image").sprite = this.spLoader:LoadSprite("j_jianmushenshu_anniu_01_zh")
self.treeRed = Util.GetGameObject(self.treeBtn, "redPoint")
end

View File

@ -150,6 +150,7 @@ function RoleEquipPanel:InitComponent()
end
this.treeBtn = Util.GetGameObject(self.gameObject, "treeBtn")
Util.GetGameObject(this.treeBtn,"treebtn"):GetComponent("Image").sprite = this.spLoader:LoadSprite("j_jianmushenshu_anniu_01_zh")
Util.AddClick(this.treeBtn, function()
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.SACREDTREE) then
UIManager.OpenPanel(UIName.SacredTreePanel)