mm
This commit is contained in:
@@ -32,7 +32,12 @@ function _cell.show(go, data)
|
||||
uiobjs.boxCollider.size = Vector3(mData.width, 150, 0)
|
||||
uiobjs.Background.spriteName = mData.Background
|
||||
uiobjs.Checkmark.spriteName = mData.Checkmark
|
||||
_cell.setReddotNum(0)
|
||||
if mData.id == 1 then
|
||||
local unreadNum = DBMessage.getUnreadNum(DBMessage.MsgType.Sys)
|
||||
_cell.setReddotNum(unreadNum)
|
||||
else
|
||||
_cell.setReddotNum(0)
|
||||
end
|
||||
end
|
||||
|
||||
function _cell.setReddotNum(num)
|
||||
|
||||
Reference in New Issue
Block a user