Files
StellaSora_DataLua/lua/game/ui/activity/throwgifts/throwgiftpanel.lua
T
SL1900 86d82306fe Update - 1.7.0.88
EN: 1.7.0.88
CN: 1.7.0.90
JP: 1.7.0.91
KR: 1.7.0.94
2026-02-24 22:00:00 +09:00

27 lines
773 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()
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