【天数密卷】按钮文字旋转

dev_chengFeng
ZhangBiao 2021-04-07 15:22:32 +08:00
parent bfaa5195b5
commit 33c598e2d9
2 changed files with 3 additions and 2 deletions

View File

@ -37,8 +37,9 @@ function TianShuMiJuanMainPanel:InitComponent()
self.bg = Util.GetGameObject(self.gameObject,"bg/Bg"):GetComponent("Image")
self.title = Util.GetGameObject(self.gameObject,"bg/title"):GetComponent("Image")
self.btnBack = Util.GetGameObject(self.gameObject,"bg/btnBack")
self.shai = Util.GetGameObject(self.gameObject,"bg/shai")
self.shai = Util.GetGameObject(self.gameObject,"shai")
self.shaiText = Util.GetGameObject(self.shai,"Text"):GetComponent("Text")
SetTextVerTial(self.shaiText,Vector3.New(0,0,0),nil,nil,10)
self.fetterItem = Util.GetGameObject(self.gameObject,"fetterItem")
local grid = Util.GetGameObject(self.gameObject,"bg/fetterGrid")
local v21 = grid.transform.rect

View File

@ -45,7 +45,7 @@ function this.CreatSingleConfigData(configData)
for i = 1, #data.activePara do
local config = propertyConfig[data.activePara[i][1]]
local value= GetEquipPropertyFormatStr(config.Style,data.activePara[i][2])
data.activeParaTip = data.activeParaTip..config.Info.."+"..value .. " "
data.activeParaTip = data.activeParaTip..GetLanguageStrById(config.Info).."+"..value .. " "
end
data.activeParaTip = rtrim(data.activeParaTip)
data.activeForce = configData.ActiveForce