PGRData/Script/matrix/xui/xuireform2nd/mainpage/XUiReform2ndCharacterIcon.lua

12 lines
332 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XUiReform2ndCharacterIcon
local XUiReform2ndCharacterIcon = XClass(nil, "XUiReform2ndCharacterIcon")
function XUiReform2ndCharacterIcon:Ctor(uiPrefab)
XTool.InitUiObjectByUi(self, uiPrefab)
end
function XUiReform2ndCharacterIcon:SetIcon(icon)
self.RImgIcon:SetRawImage(icon)
end
return XUiReform2ndCharacterIcon