29 lines
559 B
Lua
29 lines
559 B
Lua
---@class WB_SettingButton_C:UUserWidget
|
|
---@field NewButton_0 UNewButton
|
|
--Edit Below--
|
|
local WB_SettingButton = { bInitDoOnce = false }
|
|
|
|
--[==[ Construct
|
|
function WB_SettingButton:Construct()
|
|
|
|
end
|
|
-- Construct ]==]
|
|
|
|
function WB_SettingButton:LuaInit()
|
|
if self.bInitDoOnce then return ; end
|
|
self.bInitDoOnce = true;
|
|
|
|
UITool.BindButtonClicked(self.NewButton_0, function()
|
|
UITool.OpenSettings();
|
|
end, self)
|
|
end
|
|
|
|
-- function WB_SettingButton:Tick(MyGeometry, InDeltaTime)
|
|
|
|
-- end
|
|
|
|
-- function WB_SettingButton:Destruct()
|
|
|
|
-- end
|
|
|
|
return WB_SettingButton |