PGRData/Script/matrix/xui/xuidlchunt/attr/XUiDlcHuntAttrDialogChipGroupAttrGrid.lua

15 lines
499 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XUiDlcHuntAttrDialogChipGroupAttrGrid
local XUiDlcHuntAttrDialogChipGroupAttrGrid = XClass(nil, "XUiDlcHuntAttrDialogChipGroupAttrGrid")
function XUiDlcHuntAttrDialogChipGroupAttrGrid:Ctor(ui)
self.GameObject = ui.gameObject
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiDlcHuntAttrDialogChipGroupAttrGrid:Update(data)
self.TxtAttribute.text = data.Name
self.TxtChipAddition.text = data.Value
end
return XUiDlcHuntAttrDialogChipGroupAttrGrid