开始接入厨房
This commit is contained in:
@ -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)
|
||||
Reference in New Issue
Block a user