Hey guys, I’m removing a node form the scene via the following line of code:
TargetedAction::create(target, RemoveSelf::create())
Does removing the child also remove all associated listeners and events ?
Hey guys, I’m removing a node form the scene via the following line of code:
TargetedAction::create(target, RemoveSelf::create())
Does removing the child also remove all associated listeners and events ?
remove chidren?
-> yes
remove listeners?
-> yes only with addEventListenerWithSceneGraphPriority
rest of listeners(FixedPriority
or CustomEvent
) should be removed manually.