Hi
when calling node.targetOff() if there are any events still in the queue it errors out
Uncaught TypeError: Cannot read property 'call' of undefined
The example would be the following where there are objects within the phone object receiving TOUCH_END events
this.phone.on(cc.Node.EventType.TOUCH_END, () => {
this.phone.targetOff(this.phone);
is there any better way around this?