Register a callback in the engine start event. This happens at the beginning of each frame
The callback to be called
Optional
A function that can be called to unregister the callback
onStart((ctx : Context) => { // do something} Copy
onStart((ctx : Context) => { // do something}
Register a callback in the engine start event.
This happens at the beginning of each frame