逍遥boss 提交

dev_chengFeng
jiaoyangna 2021-04-07 16:12:29 +08:00
parent 0c10418a3c
commit 17bc3ce580
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,6 @@ function XiaoYaoLuckyBossPopup:InitComponent()
this.root = self.gameObject
this.btnBack =Util.GetGameObject(this.root,"Panel/bg/btnBack")
this.title =Util.GetGameObject(this.root,"Panel/bg/title"):GetComponent("Text")
this.e_liveRoot=Util.GetGameObject(this.root,"Panel/EnemyInfo/liveRoot")
this.e_name=Util.GetGameObject(this.root,"Panel/EnemyInfo/name/text"):GetComponent("Text")
this.e_level=Util.GetGameObject(this.root,"Panel/EnemyInfo/name/level/Text"):GetComponent("Text")
@ -174,6 +173,7 @@ function XiaoYaoLuckyBossPopup:SetSelectHero(monsterData)
end
_LiveName = ArtConfig[paintingId].Name
_LiveNode = poolManager:LoadLive(_LiveName, this.e_liveRoot.transform, Vector3.one * heroConfig[monsterId].Scale*0.7, Vector3.New(pos[1], pos[2], 0))
this.e_liveRoot.transform.localScale = Vector3.one*0.7
this.e_level.text = "lv.".. _data.Level
this.e_name.text = GetLanguageStrById(_data.ReadingName)
this.hp.fillAmount = monsterData.monsterHp/_data.Hp