change set name to begin with Oxr
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -3,14 +3,14 @@ use bevy::prelude::*;
|
|||||||
use bevy_xr::session::session_running;
|
use bevy_xr::session::session_running;
|
||||||
|
|
||||||
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone, Copy)]
|
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone, Copy)]
|
||||||
pub struct ActionSetSyncSet;
|
pub struct OxrActionSetSyncSet;
|
||||||
|
|
||||||
impl Plugin for OxrActionSyncingPlugin {
|
impl Plugin for OxrActionSyncingPlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_event::<OxrSyncActionSet>();
|
app.add_event::<OxrSyncActionSet>();
|
||||||
app.add_systems(
|
app.add_systems(
|
||||||
PreUpdate,
|
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),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user