SceneReloadCallback typedef Assets and loading

SceneReloadCallback = void Function(Node root)

Called after a hot-reloaded scene has been patched in place (see loadScene), so the app can re-apply per-instance customizations the patch may have discarded: re-apply a custom material, or re-grab inner nodes by name. root is the same root instance the app holds.

Implementation

typedef SceneReloadCallback = void Function(Node root);