---@class WB_White_C:UUserWidget --Edit Below-- local WB_White = { bInitDoOnce = false; }; --[==[ Construct function WB_White:Construct() end -- Construct ]==] WB_White.CloseTimer = nil; function WB_White:OnShowPanel(...) local vars = { ... }; if self.CloseTimer ~= nil then UGCEventSystem.StopTimer(self.CloseTimer); self.CloseTimer = nil; end self.CloseTimer = UGCEventSystem.SetTimer(self, function() WidgetManager:ClosePanel(self.UIType) end, vars[1] + 1); end -- function WB_White:Tick(MyGeometry, InDeltaTime) -- end -- function WB_White:Destruct() -- end return WB_White;