23 lines
564 B
Lua
23 lines
564 B
Lua
|
---@class WB_PreviewMap_C:UUserWidget
|
||
|
---@field Button_ToMenu UNewButton
|
||
|
--Edit Below--
|
||
|
local WB_PreviewMap = { bInitDoOnce = false; };
|
||
|
|
||
|
|
||
|
function WB_PreviewMap:Construct()
|
||
|
WidgetLibrary.BindButtonClicked(self.Button_ToMenu, self.ReturnToMenu, self)
|
||
|
end
|
||
|
|
||
|
function WB_PreviewMap:ReturnToMenu()
|
||
|
UGCSendRPCSystem.ActorRPCNotify(nil, UGCGameSystem.GameState, "ShowSimplePlaceModeUI", WidgetConfig.EUIType.PlaceModeMainMenu)
|
||
|
end
|
||
|
|
||
|
-- function WB_PreviewMap:Tick(MyGeometry, InDeltaTime)
|
||
|
|
||
|
-- end
|
||
|
|
||
|
-- function WB_PreviewMap:Destruct()
|
||
|
|
||
|
-- end
|
||
|
|
||
|
return WB_PreviewMap;
|