ro-table/Asstes/Resources/Script/FrameWork/GUI/cell/Adventure/AdventureAchievementCell.txt
2025-06-04 05:02:57 +08:00

17 lines
441 B
Plaintext

local baseCell = autoImport("BaseCell")
AdventureAchievementCell = class("AdventureAchievementCell",baseCell)
function AdventureAchievementCell:Init()
self:initView()
end
function AdventureAchievementCell:initView( )
-- body
self.icon = self:FindGO("icon"):GetComponent(UISprite)
end
function AdventureAchievementCell:SetData(data)
-- self.level.text = data:GetLevelText()
IconManager:SetUIIcon(data.staticData.Icon,self.icon)
end