PGRData/Script/matrix/xui/xuidlchunt/chip/XUiDlcHuntChipDetailBreakthroughMagic.lua
2024-09-01 22:49:41 +02:00

16 lines
No EOL
564 B
Lua

---@class XUiDlcHuntChipDetailBreakthroughMagic
local XUiDlcHuntChipDetailBreakthroughMagic = XClass(nil, "XUiDlcHuntChipDetailBreakthroughMagic")
function XUiDlcHuntChipDetailBreakthroughMagic:Ctor(ui)
self.GameObject = ui.gameObject
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiDlcHuntChipDetailBreakthroughMagic:Update(data)
self.TxtName1.text = data.Name
self.IconJiantou.gameObject:SetActiveEx(data.IsLevelUp)
self.IconNew.gameObject:SetActiveEx(data.IsNew)
end
return XUiDlcHuntChipDetailBreakthroughMagic