Constructor
new EventNode( eventType : string, callback : function )
Creates an EventNode.
| eventType |
The type of event |
| callback |
The callback to execute on update. |
EventDispatcher → Node →
EventNode is a node that executes a callback during specific update phases.
Creates an EventNode.
| eventType |
The type of event |
| callback |
The callback to execute on update. |