pub fn on_scene_loaded(
callback: impl Fn(Scene, LoadSceneMode) + Send + Sync + 'static,
) -> Result<()>Expand description
Runs callback on Unity’s main thread after each scene loads, which is a
good time to add objects to the game. Panics are caught and printed.