---@class WBP_AttackWaveNotice_C:WBP_NoticeBase_C ---@field FadeOut UWidgetAnimation ---@field FadeIn UWidgetAnimation ---@field TextBlock_CurWave UTextBlock ---@field TextBlock_TotalWave UTextBlock --Edit Below-- local NoticeBase = require('Script.UI.Notice.WBP_NoticeBase') local WBP_AttackWaveNotice = setmetatable( { bInitDoOnce = false, }, { __index = NoticeBase, __metatable = NoticeBase } ); function WBP_AttackWaveNotice:InitNoticeFromParam(InParams) if type(InParams) ~= "table" then return end local CurWave = InParams.CurWave local TotalWave = InParams.TotalWave if type(CurWave) == "string" or type(CurWave) == "number" then self.TextBlock_CurWave:SetText(CurWave) end if type(TotalWave) == "string" or type(TotalWave) == "number" then self.TextBlock_TotalWave:SetText(TotalWave) end end function WBP_AttackWaveNotice:GetEnterAnimation() return self.FadeIn end function WBP_AttackWaveNotice:GetExitAnimation() return self.FadeOut end return WBP_AttackWaveNotice;