eafd8f4088
EN: 1.9.0.107 CN: 1.9.0.108 JP: 1.9.0.112 KR: 1.9.0.112
31 lines
954 B
Lua
31 lines
954 B
Lua
local ThrowGiftPanel = class("ThrowGiftPanel", BasePanel)
|
|
ThrowGiftPanel._sUIResRootPath = "UI_Activity/"
|
|
local GamepadUIManager = require("GameCore.Module.GamepadUIManager")
|
|
ThrowGiftPanel._tbDefine = {
|
|
{
|
|
sPrefabPath = "_400005/ThrowGiftsPanel.prefab",
|
|
sCtrlName = "Game.UI.Activity.ThrowGifts.ThrowGiftCtrl"
|
|
}
|
|
}
|
|
function ThrowGiftPanel:Awake()
|
|
self.nLevelPanelId = PanelId.ThrowGiftLevelPanel
|
|
self.sGamepadPanelName = "ThrowGiftPanel"
|
|
self.nTransition = 37
|
|
self._rootPath = "UI_Activity/_400005/GoalPerfab/Goal%s.prefab"
|
|
GamepadUIManager.EnterAdventure(true)
|
|
GamepadUIManager.EnableGamepadUI("ThrowGiftPanel", {}, nil, true)
|
|
end
|
|
function ThrowGiftPanel:OnEnable()
|
|
end
|
|
function ThrowGiftPanel:OnAfterEnter()
|
|
end
|
|
function ThrowGiftPanel:OnDisable()
|
|
end
|
|
function ThrowGiftPanel:OnDestroy()
|
|
GamepadUIManager.DisableGamepadUI("ThrowGiftPanel")
|
|
GamepadUIManager.QuitAdventure()
|
|
end
|
|
function ThrowGiftPanel:OnRelease()
|
|
end
|
|
return ThrowGiftPanel
|