Back to Player SDK

Lifecycle Events

Various lifecycle events are triggered when loading a new scene, and you can register handlers to be called when these events occur. This can be useful if you need to do something only once you know that some event has occured, such as after the scene has loaded.

api.on('loaded', () => {