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