逍遥提交

dev_chengFeng
jiaoyangna 2021-04-07 17:46:56 +08:00
parent 6794c272c0
commit 8696940dda
2 changed files with 8 additions and 8 deletions

View File

@ -1560,10 +1560,10 @@ RectTransform:
m_Father: {fileID: 7555683376229264185}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 17}
m_SizeDelta: {x: 1080.2, y: 1927}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 18}
m_SizeDelta: {x: 980, y: 1820}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3615097020972840977
CanvasRenderer:
@ -1759,8 +1759,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -0.000091553}
m_SizeDelta: {x: 1080.2, y: 1927}
m_AnchoredPosition: {x: 0, y: -50.9}
m_SizeDelta: {x: 1080.2, y: 1825.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2110235193013985081
CanvasRenderer:

View File

@ -25,7 +25,7 @@ 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.liveRoot=Util.GetGameObject(this.root,"Panel/EnemyInfo/root")
--this.liveRoot=Util.GetGameObject(this.root,"Panel/EnemyInfo/root")
this.e_liveRoot=Util.GetGameObject(this.root,"Panel/EnemyInfo/root/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,7 +174,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.liveRoot.transform.localScale = Vector3.one*0.7
--this.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