【红点】还原清空所有红点的操作

dev_chengFeng
gaoxin 2021-06-04 23:56:09 +08:00
parent 206fcf9d92
commit fe517d91ed
1 changed files with 5 additions and 2 deletions

View File

@ -568,10 +568,13 @@ function this.ClearObject(rpType, rpObj)
table.remove(BindObjs[rpType], indexToKill)
--Log("红点类型 = "..rpType..", 解绑了一个物体,当前绑定的物体数量为 = "..#BindObjs[rpType])
else
Log("红点类型 ".. rpType .. ",在该红点绑定物体中没有找到要解除绑定的物体,请检查")
LogRed("红点类型 ".. rpType .. ",在该红点绑定物体中没有找到要解除绑定的物体,请检查")
end
else
Log("类型:"..tostring(rpType).."请求解绑的Obj为空")
if BindObjs then
BindObjs[rpType] = {}
end
LogRed("红点类型 = "..rpType..", 解绑了所有物体,当前绑定的物体数量为 = "..#BindObjs[rpType])
end
end