代码漏提

dev_chengFeng
jiaoyangna 2022-01-11 13:49:18 +08:00
parent 12cdbed48c
commit b0e7ce6238
1 changed files with 5 additions and 5 deletions

View File

@ -33,11 +33,11 @@ end
--初始化组件(用于子类重写)
function RoleAwakeLayout:InitComponent()
this.spLoader = SpriteLoader.New()
Util.GetGameObject(self.gameObject,"Image/Text"):GetComponent("Text").text = Language[11783]
Util.GetGameObject(self.gameObject,"Image (3)/Text"):GetComponent("Text").text = Language[11784]
Util.GetGameObject(self.gameObject,"tip"):GetComponent("Text").text = Language[11785]
Util.GetGameObject(self.gameObject,"upStarBtn/Text"):GetComponent("Text").text = Language[11786]
Util.GetGameObject(self.gameObject,"lvUp/Text"):GetComponent("Text").text = Language[11787]
Util.GetGameObject(self.gameObject,"content/Image/Text"):GetComponent("Text").text = Language[11783]
Util.GetGameObject(self.gameObject,"content/Image (3)/Text"):GetComponent("Text").text = Language[11784]
Util.GetGameObject(self.gameObject,"content/tip"):GetComponent("Text").text = Language[11785]
Util.GetGameObject(self.gameObject,"content/upStarBtn/Text"):GetComponent("Text").text = Language[11786]
Util.GetGameObject(self.gameObject,"content/lvUp/Text"):GetComponent("Text").text = Language[11787]
--天赋
this.talent1Image = Util.GetGameObject(self.gameObject,"talent/talent (1)"):GetComponent("Image")
this.talent1Progress = Util.GetGameObject(self.gameObject,"talent/talent (1)/progress"):GetComponent("Text")