Hello,
If I have a global function on a display object, how do I or do I need to manually set it to nil after calling removeSelf() ?
[lua]local displayObject = display.newImage(“something.png”)
function displayObject:render()
– does something
end
displayObject:removeSelf??[/lua]
Do I need to set render() to nil? If so how do I do that?
Can I just do
displayObject:render = nil ? [import]uid: 6066 topic_id: 2273 reply_id: 302273[/import]