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
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user