PGRData/Script/matrix/xui/xuisummerepisode/XUiGridSummerEpisodePicture.lua

14 lines
388 B
Lua
Raw Normal View History

local XUiGridSummerEpisodePicture = XClass(nil,"XUiGridSummerEpisodePicture")
function XUiGridSummerEpisodePicture:Ctor(ui)
self.GameObject = ui
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiGridSummerEpisodePicture:Refresh(imgPath)
if not imgPath then return end
self.RImgPicture:SetRawImage(imgPath)
end
return XUiGridSummerEpisodePicture