开始接入厨房

This commit is contained in:
2025-07-13 15:47:08 +08:00
parent d2e517b341
commit 608486444e
25 changed files with 92 additions and 17 deletions

View File

@ -0,0 +1,11 @@
local WidgetUtils = require("Utils.UI.WidgetUtils")
local HearthMain = {}
function HearthMain:OnInitialized()
self.BtnBack.OnClicked:Add(function()
WidgetUtils.Hide(self, "HearthMain")
end)
end
return Class(nil, nil, HearthMain)

View File

@ -1,11 +1,14 @@
local GameplayStatics = import("GameplayStatics")
local WidgetUtils = require("Utils.UI.WidgetUtils")
local HomeLandMainUI = {}
function HomeLandMainUI:Construct()
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)