【红点】还原清空所有红点的操作
parent
206fcf9d92
commit
fe517d91ed
|
@ -568,10 +568,13 @@ function this.ClearObject(rpType, rpObj)
|
||||||
table.remove(BindObjs[rpType], indexToKill)
|
table.remove(BindObjs[rpType], indexToKill)
|
||||||
--Log("红点类型 = "..rpType..", 解绑了一个物体,当前绑定的物体数量为 = "..#BindObjs[rpType])
|
--Log("红点类型 = "..rpType..", 解绑了一个物体,当前绑定的物体数量为 = "..#BindObjs[rpType])
|
||||||
else
|
else
|
||||||
Log("红点类型 ".. rpType .. ",在该红点绑定物体中没有找到要解除绑定的物体,请检查")
|
LogRed("红点类型 ".. rpType .. ",在该红点绑定物体中没有找到要解除绑定的物体,请检查")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Log("类型:"..tostring(rpType).."请求解绑的Obj为空")
|
if BindObjs then
|
||||||
|
BindObjs[rpType] = {}
|
||||||
|
end
|
||||||
|
LogRed("红点类型 = "..rpType..", 解绑了所有物体,当前绑定的物体数量为 = "..#BindObjs[rpType])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue