• Register a callback in the engine start event.
    This happens at the beginning of each frame

    onStart((ctx : Context) => {
    // do something
    }

    Parameters

    • cb: LifecycleMethod

    Returns void

Generated using TypeDoc