Files
SL1900 5e0d58cfad Initial version - 1.2.0.60
EN: 1.2.0.60
CN: 1.2.0.61
JP: 1.2.0.63
KR: 1.2.0.67
2025-12-03 01:00:00 +09:00

24 lines
716 B
Lua

local FormationPanel = class("FormationPanel", BasePanel)
FormationPanel._tbDefine = {
{
sPrefabPath = "MainlineFormationEx/MainlineFormationScenePanel.prefab",
sCtrlName = "Game.UI.FormationEx.FormationCtrl"
}
}
function FormationPanel:Awake()
EventManager.Add("EnterModule", self, self.OnEvent_EnterModule)
end
function FormationPanel:OnEnable(bPlayFadeIn)
end
function FormationPanel:OnDisable()
end
function FormationPanel:OnDestroy()
EventManager.Remove("EnterModule", self, self.OnEvent_EnterModule)
end
function FormationPanel:OnEvent_EnterModule(moduleMgr, sExitModuleName, sEnterModuleName)
if sEnterModuleName == "AdventureModuleScene" then
self.bAddBuild = false
end
end
return FormationPanel