Files
BusyRabbit/Content/Lua/HomeLand/UI/HomeLandMainUI.lua
2025-07-13 15:47:08 +08:00

14 lines
424 B
Lua

local GameplayStatics = import("GameplayStatics")
local WidgetUtils = require("Utils.UI.WidgetUtils")
local HomeLandMainUI = {}
function HomeLandMainUI:OnInitialized()
self.Gateway.OnClicked:Add(function()
GameplayStatics.OpenLevel(self, "FalconPlain", false, "")
end)
self.Hearth.OnClicked:Add(function()
WidgetUtils.Show(self, "HearthMain")
end)
end
return Class(nil, nil, HomeLandMainUI)