There is a pointerdown
event, there is a pounterup
event for on
method.
How can I do a “pointerclick” event: if both events was emited by the same object in the specified order?
gameObject.on('pointerup', function () {/*…*/});
It is’t what I need. I want event which was emitted by sequence of two events pointerdown
and pounterup
from same object in the specified order.
You should manage it alone to be able “onClick” behavior fired