【森罗幻境】敌将详情 敌将位置调整
parent
db9facba90
commit
f1402772f9
|
|
@ -19,7 +19,8 @@ local herosList={}
|
|||
function this:InitComponent()
|
||||
this.root = self.gameObject
|
||||
this.btnBack =Util.GetGameObject(this.root,"EnemyInfo/btnBack")
|
||||
this.e_liveRoot=Util.GetGameObject(this.root,"EnemyInfo/liveRoot")
|
||||
this.rootLive=Util.GetGameObject(this.root,"EnemyInfo/root")
|
||||
this.e_liveRoot=Util.GetGameObject(this.root,"EnemyInfo/root/liveRoot")
|
||||
this.e_name=Util.GetGameObject(this.root,"EnemyInfo/name/text"):GetComponent("Text")
|
||||
this.e_level=Util.GetGameObject(this.root,"EnemyInfo/name/level/Text"):GetComponent("Text")
|
||||
this.e_cancelBtn=Util.GetGameObject(this.root,"EnemyInfo/cancelBtn")
|
||||
|
|
@ -142,7 +143,8 @@ function this.SetSelectHero()
|
|||
local pos = heroConfig[monsterId].Position
|
||||
|
||||
_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))
|
||||
_LiveNode = poolManager:LoadLive(_LiveName, this.e_liveRoot.transform, Vector3.one * heroConfig[monsterId].Scale, Vector3.New(pos[1], pos[2], 0))
|
||||
this.rootLive.transform.localScale = Vector3.one*0.7
|
||||
this.e_level.text = "lv."..MonsterConfig[t].Level
|
||||
this.e_name.text = MonsterConfig[t].ReadingName
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue