5e0d58cfad
EN: 1.2.0.60 CN: 1.2.0.61 JP: 1.2.0.63 KR: 1.2.0.67
24 lines
716 B
Lua
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
|