update to bevy 0.14

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-07-05 03:19:02 +02:00
parent 5e0c09eaee
commit 81779bd76e
21 changed files with 850 additions and 400 deletions

View File

@@ -15,10 +15,10 @@ pub struct OxrPassthroughPlugin;
impl Plugin for OxrPassthroughPlugin {
fn build(&self, app: &mut App) {
let resources = app
.world
.world()
.get_resource::<OxrInstance>()
.and_then(|instance| {
app.world
app.world()
.get_resource::<OxrSystemId>()
.map(|system_id| (instance, system_id))
});