I have created a runtime listener with the below code:
local moveListener = Runtime:addEventListener("touch", move);
Before I change scene with the director class I want to remove the runtime listener with
Runtime:removeEventListener("touch", move);
moveListener = nil
director:changeScene("gameover");
However on my next scene the listener is still firing touch events. How can I remove the listener? [import]uid: 31694 topic_id: 23967 reply_id: 323967[/import]
[import]uid: 21331 topic_id: 23967 reply_id: 96629[/import]