From 17bc3ce580bbf77730f2a4bae46ddb874752f241 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Wed, 7 Apr 2021 16:12:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=8D=E9=81=A5boss=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua index fa9fbbd6ed..aa4a9964f8 100644 --- a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoLuckyBossPopup.lua @@ -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