This commit is contained in:
JMS55 2023-12-09 10:58:59 -08:00
parent d3f5a985ba
commit 3d71d27e7d
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ pub trait DioxusUiHooks {
S: IntoSystem<(), (), ()> + 'static;
}
// TODO: Hooks need to schedule future updates
impl DioxusUiHooks for ScopeState {
fn use_world<'a>(&'a self) -> &'a World {
EcsContext::get_world(self)