2025-01-18 21:26:02 +08:00

27 lines
516 B
Lua

---@class WB_ShowMapBG_C:UUserWidget
---@field Image_ShowMap UImage
--Edit Below--
local WB_ShowMapBG = { bInitDoOnce = false; };
--[==[ Construct
function WB_ShowMapBG:Construct()
end
-- Construct ]==]
-- function WB_ShowMapBG:Tick(MyGeometry, InDeltaTime)
-- end
-- function WB_ShowMapBG:Destruct()
-- end
function WB_ShowMapBG:SetImage(Path)
local Tex = UGCSystemLibrary.LoadAsset(Path, true)
if Tex then
self.Image_ShowMap:SetBrushFromTexture(Tex, true)
end
end
return WB_ShowMapBG;