Is there anyway to check if
node.on(...);
of a node is set, just like “button.clickEvents” in cc.Button?
Is there anyway to check if
node.on(...);
of a node is set, just like “button.clickEvents” in cc.Button?
Try this:
node.hasEventListener(...)