Expand description
Defines reloading Hook
s 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
Hook
s. It just registersHook
,State
and adds therun_reloadable_hooks
system. - Scene
Bundle - Bundle a reload
Hook
with the standardbevy::prelude::SceneBundle
components.
Enums§
- State
- Controls loading and reloading of scenes with a hook.
Functions§
- run_
reloadable_ hooks - Run
Hook
s and respawn scenes according toHook::state
.