Files
tianrunCRM/Assets/CoolapeFrame/Templates/Lua/NewLuaCell.lua

34 lines
665 B
Lua
Raw Normal View History

2020-07-04 14:41:25 +08:00
-- xx单元
local _cell = {}
---@type Coolape.CLCellLua
local csSelf = nil
local transform = nil
local mData = nil
local uiobjs = {}
-- 初始化,只调用一次
function _cell.init(csObj)
csSelf = csObj
transform = csSelf.transform
--[[
getChild(transform, "offset", "Progress BarHong"):GetComponent("UISlider");
--]]
end
-- 显示,
-- 注意c#侧不会在调用show时调用refresh
function _cell.show(go, data)
mData = data
--[[
TODO:
--]]
end
-- 取得数据
function _cell.getData()
return mData
end
--------------------------------------------
return _cell