a5251d8080
EN: 1.14.0.129 CN: 1.14.0.129 JP: 1.14.0.133 KR: 1.14.0.135
31 lines
1.0 KiB
Lua
31 lines
1.0 KiB
Lua
local ThrowGiftPanel_400015 = class("ThrowGiftPanel_400015", BasePanel)
|
|
ThrowGiftPanel_400015._sUIResRootPath = "UI_Activity/"
|
|
local GamepadUIManager = require("GameCore.Module.GamepadUIManager")
|
|
ThrowGiftPanel_400015._tbDefine = {
|
|
{
|
|
sPrefabPath = "_400015/ThrowGiftsPanel.prefab",
|
|
sCtrlName = "Game.UI.Activity.ThrowGifts.ThrowGiftCtrl"
|
|
}
|
|
}
|
|
function ThrowGiftPanel_400015:Awake()
|
|
self.nLevelPanelId = PanelId.ThrowGiftLevelPanel_400015
|
|
self.sGamepadPanelName = "ThrowGiftPanel_400015"
|
|
self.nTransition = 52
|
|
self._rootPath = "UI_Activity/_400015/GoalPerfab/Goal%s.prefab"
|
|
GamepadUIManager.EnterAdventure(true)
|
|
GamepadUIManager.EnableGamepadUI(self.sGamepadPanelName, {}, nil, true)
|
|
end
|
|
function ThrowGiftPanel_400015:OnEnable()
|
|
end
|
|
function ThrowGiftPanel_400015:OnAfterEnter()
|
|
end
|
|
function ThrowGiftPanel_400015:OnDisable()
|
|
end
|
|
function ThrowGiftPanel_400015:OnDestroy()
|
|
GamepadUIManager.DisableGamepadUI(self.sGamepadPanelName)
|
|
GamepadUIManager.QuitAdventure()
|
|
end
|
|
function ThrowGiftPanel_400015:OnRelease()
|
|
end
|
|
return ThrowGiftPanel_400015
|