【本地化】无尽副本界面左上右上调整
parent
59af047cd9
commit
f98e81bb37
|
@ -19,6 +19,8 @@ function EndLessCarbonPanel:InitComponent()
|
|||
this.miniMapName = Util.GetGameObject(this.miniMap.gameObject, "tBottom/main/mapName"):GetComponent("Text")
|
||||
this.worldLevel = Util.GetGameObject(this.miniMap.gameObject, "tBottom/left/worldLevel"):GetComponent("Text")
|
||||
this.worldMode = Util.GetGameObject(this.miniMap.gameObject, "tBottom/right/worldMode"):GetComponent("Text")
|
||||
this.text1 = Util.GetGameObject(this.miniMap.gameObject, "tBottom/left/text"):GetComponent("Text")
|
||||
this.text2 = Util.GetGameObject(this.miniMap.gameObject, "tBottom/right/text"):GetComponent("Text")
|
||||
|
||||
-- 怪物组
|
||||
this.bossGrid = Util.GetGameObject(self.gameObject, "Bg/bg1/InfoRoot/bossList/grid")
|
||||
|
@ -209,6 +211,10 @@ function this.SetStaticData()
|
|||
|
||||
this.worldLevel.text = PlayerManager.worldLeve --EndLessMapManager.worldLevel
|
||||
this.worldMode.text = MAP_MODE[mapConfig[EndLessMapManager.openMapId].DifficultType]
|
||||
this.text1.horizontalOverflow = GetCurLanguage() ~= 2 and 1 or 0
|
||||
this.text1.alignment = GetCurLanguage() ~= 2 and "MiddleRight" or "MiddleCenter"
|
||||
this.text2.horizontalOverflow = GetCurLanguage() ~= 2 and 1 or 0
|
||||
this.text2.alignment = GetCurLanguage() ~= 2 and "MiddleRight" or "MiddleCenter"
|
||||
this.miniMapName.text = GetLanguageStrById(mapData.Info)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue