功能开启

This commit is contained in:
puxuan 2025-09-05 10:49:22 +08:00
parent 5f724a1491
commit bf3b283034
2 changed files with 26 additions and 26 deletions

View File

@ -1108,16 +1108,16 @@ function MainCityUI:checkMainPop()
end end
-- 礼包 -- 礼包
if self:checkGift() then -- if self:checkGift() then
return -- return
end -- end
-- 圆月活动 -- 圆月活动
local showType = DataManager.FullMoonData:getNeedShowActPanel() -- local showType = DataManager.FullMoonData:getNeedShowActPanel()
if showType then -- if showType then
ModuleManager.FullMoonManager:showActMainUI(showType) -- ModuleManager.FullMoonManager:showActMainUI(showType)
return -- return
end -- end
-- 金猪满了后下次进主城要弹出来 -- 金猪满了后下次进主城要弹出来
-- if DataManager.GoldPigData:getPopFlag() and not DataManager.TutorialData:getIsInTutorial() then -- if DataManager.GoldPigData:getPopFlag() and not DataManager.TutorialData:getIsInTutorial() then
@ -1130,13 +1130,13 @@ function MainCityUI:checkMainPop()
-- return -- return
-- end -- end
if DataManager.ActBossRushData:getIsOpen() and not DataManager.TutorialData:getIsInTutorial() then -- 弹窗 -- if DataManager.ActBossRushData:getIsOpen() and not DataManager.TutorialData:getIsInTutorial() then -- 弹窗
if not DataManager.ActBossRushData:getMarkPoped() then -- if not DataManager.ActBossRushData:getMarkPoped() then
if ModuleManager.ActBossRushManager:showPopUI() then -- if ModuleManager.ActBossRushManager:showPopUI() then
return -- return
end -- end
end -- end
end -- end
end end
-- 检查引导 -- 检查引导

View File

@ -44,9 +44,9 @@ function ModuleUnlockUI:onLoadRootComplete()
self.moduleNameTx = self.uiMap["module_unlock_ui.bg.name_tx"] self.moduleNameTx = self.uiMap["module_unlock_ui.bg.name_tx"]
self.moduleIcon = self.uiMap["module_unlock_ui.icon"] self.moduleIcon = self.uiMap["module_unlock_ui.icon"]
self.titleTx = self.uiMap["module_unlock_ui.bg.spine_title.title_tx"] self.titleTx = self.uiMap["module_unlock_ui.bg.spine_title.title_tx"]
-- self.spineTitle = self.uiMap["module_unlock_ui.bg.spine_title"] self.spineTitle = self.uiMap["module_unlock_ui.bg.spine_title"]
-- self.spineCircle = self.uiMap["module_unlock_ui.icon.spine_circle"] self.spineCircle = self.uiMap["module_unlock_ui.icon.spine_circle"]
-- self.spineStar = self.uiMap["module_unlock_ui.spine_star"] self.spineStar = self.uiMap["module_unlock_ui.spine_star"]
self.uiMap["module_unlock_ui.bg.continue"]:setText(I18N:getGlobalText(I18N.GlobalConst.CLICK_TO_CONTINUE)) self.uiMap["module_unlock_ui.bg.continue"]:setText(I18N:getGlobalText(I18N.GlobalConst.CLICK_TO_CONTINUE))
self.titleTx:setText(I18N:getGlobalText(I18N.GlobalConst.FUNC_UNLOCK)) self.titleTx:setText(I18N:getGlobalText(I18N.GlobalConst.FUNC_UNLOCK))
@ -98,10 +98,10 @@ function ModuleUnlockUI:showModuleUnlockAppearAnim()
self.moduleIcon:setLocalScale(1,1,1) self.moduleIcon:setLocalScale(1,1,1)
self.moduleIcon:setPosition(self.initIconPos.x, self.initIconPos.y, self.initIconPos.z) self.moduleIcon:setPosition(self.initIconPos.x, self.initIconPos.y, self.initIconPos.z)
-- self.spineTitle:playAnim("idle", false, true, true) self.spineTitle:playAnim("idle", false, true, true)
-- self:performWithDelayGlobal(function() self:performWithDelayGlobal(function()
-- self.spineCircle:playAnim("idle", false, true, true) self.spineCircle:playAnim("idle", false, true, true)
-- end, 0.17) end, 0.17)
if self.animAppear == nil then if self.animAppear == nil then
self.animAppear = self.root:createBindTweenSequence() self.animAppear = self.root:createBindTweenSequence()
self.animAppear:Insert(0, self.canvasGroupBg:DOFade(1, 0.14)) self.animAppear:Insert(0, self.canvasGroupBg:DOFade(1, 0.14))
@ -129,13 +129,13 @@ function ModuleUnlockUI:showModuleUnlockVanishAnim()
self.animVanish:Insert(0.33, self.canvasGroupIcon:DOFade(0, 0.07)) self.animVanish:Insert(0.33, self.canvasGroupIcon:DOFade(0, 0.07))
local targetPos = ModuleManager.MaincityManager:getModuleEntrancePos(self.moduleKey) local targetPos = ModuleManager.MaincityManager:getModuleEntrancePos(self.moduleKey)
if targetPos then if targetPos then
-- self.spineStar:setPosition(targetPos.x, targetPos.y, targetPos.z) self.spineStar:setPosition(targetPos.x, targetPos.y, targetPos.z)
self.animVanish:Insert(0.17, self.moduleIcon:getTransform():DOMove(CS.UnityEngine.Vector3(targetPos.x, targetPos.y, targetPos.z), 0.16)) self.animVanish:Insert(0.17, self.moduleIcon:getTransform():DOMove(CS.UnityEngine.Vector3(targetPos.x, targetPos.y, targetPos.z), 0.16))
self.animVanish:OnComplete(function() self.animVanish:OnComplete(function()
self.animVanish = nil self.animVanish = nil
-- self.spineStar:playAnimComplete("idle", false, true, function() self.spineStar:playAnimComplete("idle", false, true, function()
-- self:checkShowNext() self:checkShowNext()
-- end) end)
end) end)
else else
self.animVanish:OnComplete(function() self.animVanish:OnComplete(function()