Register a callback in the engine update eventThis is called every frame
The callback to be called
Optional
A function that can be called to unregister the callback
onUpdate((ctx : Context) => { // do something} Copy
onUpdate((ctx : Context) => { // do something}
Generated using TypeDoc
Register a callback in the engine update event
This is called every frame