29 lines
536 B
Lua
29 lines
536 B
Lua
---@class WB_RoundEnd_C:UUserWidget
|
|
---@field WidgetSwitcher_Win UWidgetSwitcher
|
|
--Edit Below--
|
|
---@type WB_RoundEnd_C
|
|
local WB_RoundEnd = { bInitDoOnce = false; };
|
|
|
|
--[==[ Construct
|
|
function WB_RoundEnd:Construct()
|
|
|
|
end
|
|
-- Construct ]==]
|
|
|
|
-- function WB_RoundEnd:Tick(MyGeometry, InDeltaTime)
|
|
|
|
-- end
|
|
|
|
-- function WB_RoundEnd:Destruct()
|
|
|
|
-- end
|
|
|
|
function WB_RoundEnd:SetWin(IsWin)
|
|
if IsWin then
|
|
self.WidgetSwitcher_Win:SetActiveWidgetIndex(0);
|
|
else
|
|
self.WidgetSwitcher_Win:SetActiveWidgetIndex(1);
|
|
end
|
|
end
|
|
|
|
return WB_RoundEnd; |