if I want to remove object from a group and from the screen am I doing it correctly?
[lua]objectGroup:remove(object)
object:removeSelf()
object= nil[/lua] [import]uid: 40786 topic_id: 12308 reply_id: 312308[/import]
if I want to remove object from a group and from the screen am I doing it correctly?
[lua]objectGroup:remove(object)
object:removeSelf()
object= nil[/lua] [import]uid: 40786 topic_id: 12308 reply_id: 312308[/import]
if i remove the object from screen do I need to explicitly remove the listener too?
[lua]object:removeEventListener()[/lua] [import]uid: 40786 topic_id: 12308 reply_id: 44810[/import]
yes you should remove the EventListener as well
Larry DoubleSlashDesign [import]uid: 11860 topic_id: 12308 reply_id: 44820[/import]