14 lines
311 B
Plaintext
14 lines
311 B
Plaintext
local baseCell = autoImport("BaseCell")
|
|
MainViewChatCell = class("MainViewChatCell",baseCell)
|
|
|
|
function MainViewChatCell:Init()
|
|
self:FindObjs()
|
|
end
|
|
|
|
function MainViewChatCell:FindObjs()
|
|
self.label = self.gameObject:GetComponent(UILabel)
|
|
end
|
|
|
|
function MainViewChatCell:SetData(data)
|
|
self.label.text = data
|
|
end |