【修为】Tips修改

dev_chengFeng
ZhangBiao 2021-10-25 11:54:04 +08:00
parent abd9795933
commit 7871064069
2 changed files with 3 additions and 1 deletions

View File

@ -435,7 +435,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1.1
m_Text: "\u63D0\u793A\uFF1A\u4FEE\u4E3A\u5C5E\u6027\u5206\u4E3A<color=#00ff00>\u57FA\u7840\u5C5E\u6027</color>\u548C<color=#00ff00>\u7B49\u7EA7\u5C5E\u6027</color>\u4E24\u4E2A\u90E8\u5206\u7EC4\u6210\uFF0C\u5176\u4E2D\u57FA\u7840\u5C5E\u6027\u4E3A<color=#00ff00>\u56FA\u5B9A\u503C</color>\uFF0C\u7B49\u7EA7\u5C5E\u6027<color=#00ff00>\u6BCF\u7EA7\u53EF\u989D\u5916\u83B7\u53D6\u4E00\u6B21</color>\u3002\n\u57FA\u7840\u5C5E\u6027\u6570\u503C\u548C\u7B49\u7EA7\u5C5E\u6027\u6570\u503C\u5747\u4F1A\u968F\u7740\u4FEE\u884C\u7B49\u7EA7\u7684\u63D0\u5347\u800C\u63D0\u5347\uFF0C\u6BCF\u6B21\u63D0\u5347\u4FEE\u884C\u7B49\u7EA7\uFF0C\u4E4B\u524D\u4FEE\u4E3A\u83B7\u53D6\u7684\u5C5E\u6027\u4F1A\u6309\u7167\u65B0\u5C5E\u6027<color=#00ff00>\u91CD\u65B0\u8BA1\u7B97</color>\u3002"
m_Text:
LanguageIndex: 0
--- !u!1 &1888718174650038494
GameObject:

View File

@ -18,6 +18,7 @@ function Cultivation:InitComponent()
self.grid = Util.GetGameObject(self.gameObject,"Frame/Grid")
self.textPre = Util.GetGameObject(self.grid,"TextPre")
self.textPre:SetActive(false)
self.Tips = Util.GetGameObject(self.gameObject,"Frame/Tips"):GetComponent("Text")
self.Slide = Util.GetGameObject(self.gameObject,"Frame/Slide")
self.level = Util.GetGameObject(self.Slide,"level"):GetComponent("Text")
@ -88,6 +89,7 @@ function Cultivation:OnShow()
self.curMaxPower = PlayerManager.maxForce
self.lastLevel = PracticeManager.CultivationLevel--上次的等级
self.lastPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
self.Tips.text = ConfigManager.GetConfigData(ConfigName.QAConfig,112).content
--设置四个属性
for i = 1, #self.configData.ProRank do
local go = self.textPreList[i]