change set name to begin with Oxr

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-06-10 12:01:48 +02:00
parent 3109618bb7
commit 6ebcd7df99

View File

@@ -3,14 +3,14 @@ use bevy::prelude::*;
use bevy_xr::session::session_running;
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone, Copy)]
pub struct ActionSetSyncSet;
pub struct OxrActionSetSyncSet;
impl Plugin for OxrActionSyncingPlugin {
fn build(&self, app: &mut App) {
app.add_event::<OxrSyncActionSet>();
app.add_systems(
PreUpdate,
sync_sets.in_set(ActionSetSyncSet).run_if(session_running), // .in_set(OxrPreUpdateSet::SyncActions),
sync_sets.in_set(OxrActionSetSyncSet).run_if(session_running), // .in_set(OxrPreUpdateSet::SyncActions),
);
}
}