Update - 1.9.0.103
EN: 1.9.0.103 CN: 1.9.0.104 JP: 1.9.0.106 KR: 1.9.0.108
This commit is contained in:
@@ -58,6 +58,17 @@ StarTowerGrowthCtrl._mapNodeConfig = {
|
||||
txtBtnActiveAll = {
|
||||
sComponentName = "TMP_Text",
|
||||
sLanguageId = "STGrowth_Btn_ActiveAll"
|
||||
},
|
||||
txtResearchPreview = {
|
||||
sComponentName = "TMP_Text",
|
||||
sLanguageId = "StarTower_ResearchPreview"
|
||||
},
|
||||
btnResearchPreview = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_ResearchPreview"
|
||||
},
|
||||
StarTowerGrowthPreviewWindow = {
|
||||
sCtrlName = "Game.UI.StarTowerGrowth.StarTowerGrowthPreviewWindowCtrl"
|
||||
}
|
||||
}
|
||||
StarTowerGrowthCtrl._mapEventConfig = {
|
||||
@@ -287,12 +298,14 @@ function StarTowerGrowthCtrl:CloseInfo(callback)
|
||||
end, true, true, true)
|
||||
self._mapNode.btnQuest.gameObject:SetActive(true)
|
||||
self._mapNode.btnActiveAll.gameObject:SetActive(true)
|
||||
self._mapNode.btnResearchPreview.gameObject:SetActive(true)
|
||||
end
|
||||
function StarTowerGrowthCtrl:OpenInfo()
|
||||
self._mapNode.Info.gameObject:SetActive(true)
|
||||
self._mapNode.animInfo:Play("StarTowerGrowth_Info_in")
|
||||
self._mapNode.btnQuest.gameObject:SetActive(false)
|
||||
self._mapNode.btnActiveAll.gameObject:SetActive(false)
|
||||
self._mapNode.btnResearchPreview.gameObject:SetActive(false)
|
||||
end
|
||||
function StarTowerGrowthCtrl:ClearCtrl()
|
||||
for k, v in pairs(self.tbHideKeyNodeList) do
|
||||
@@ -402,6 +415,11 @@ function StarTowerGrowthCtrl:OnBtnClick_ActiveAll(btn)
|
||||
active()
|
||||
end
|
||||
end
|
||||
function StarTowerGrowthCtrl:OnBtnClick_ResearchPreview()
|
||||
local nDifficulty = PlayerData.StarTower:GetGlobalMaxDifficult()
|
||||
local nMaxDifficulty = nDifficulty
|
||||
self._mapNode.StarTowerGrowthPreviewWindow:OpenPanel(nDifficulty, nMaxDifficulty)
|
||||
end
|
||||
function StarTowerGrowthCtrl:OnEvent_Unlock()
|
||||
self:RefreshData()
|
||||
self:RefreshTopBar()
|
||||
|
||||
Reference in New Issue
Block a user