---@class WB_TestLogItem_C:UUserWidget ---@field TextBlock_Log UTextBlock --Edit Below-- local WB_TestLogItem = { bInitDoOnce = false; }; WB_TestLogItem.InUse = false; --[==[ Construct function WB_TestLogItem:Construct() end -- Construct ]==] function WB_TestLogItem:LuaInit() if self.bInitDoOnce then return ; end self.bInitDoOnce = true; end function WB_TestLogItem:SetInfo(Info) self.TextBlock_Log:SetColorAndOpacity(UITool.MakeSlateColor(LogColorConfig[Info.Color])); self.TextBlock_Log:SetText(Info.Str); end -- function WB_TestLogItem:Tick(MyGeometry, InDeltaTime) -- end -- function WB_TestLogItem:Destruct() -- end return WB_TestLogItem;