Module reload

Source
Expand description

Defines reloading Hooks and supporting system.

Structs§

Hook
A variant of crate::SceneHook that allows for reloading.
HookFn
A newtype for a dynamic Fn that can be run as a hook.
Plugin
The plugin to manage reloading Hooks. It just registers Hook, State and adds the run_reloadable_hooks system.
SceneBundle
Bundle a reload Hook with the standard bevy::prelude::SceneBundle components.

Enums§

State
Controls loading and reloading of scenes with a hook.

Functions§

run_reloadable_hooks
Run Hooks and respawn scenes according to Hook::state.