2025-01-04 23:00:19 +08:00

28 lines
580 B
Lua

---@class WB_TeamStartTip_C:UUserWidget
---@field WidgetSwitcher_IsCT UWidgetSwitcher
--Edit Below--
local WB_TeamStartTip = { bInitDoOnce = false; };
--[==[ Construct
function WB_TeamStartTip:Construct()
end
-- Construct ]==]
-- function WB_TeamStartTip:Tick(MyGeometry, InDeltaTime)
-- end
-- function WB_TeamStartTip:Destruct()
-- end
function WB_TeamStartTip:SetIsSelfTeam(IsSelfTeam)
if IsSelfTeam then
self.WidgetSwitcher_IsCT:SetActiveWidgetIndex(0)
else
self.WidgetSwitcher_IsCT:SetActiveWidgetIndex(1)
end
end
return WB_TeamStartTip;