@@ -43,12 +43,6 @@ fn handle_input(
|
||||
info!("sending request exit");
|
||||
request_exit.send_default();
|
||||
}
|
||||
if keys.just_pressed(KeyCode::KeyT) {
|
||||
info!("sending request exit");
|
||||
request_exit.send_default();
|
||||
info!("sending end");
|
||||
end.send_default();
|
||||
}
|
||||
if keys.just_pressed(KeyCode::KeyI) {
|
||||
info!("current state: {:?}", *state);
|
||||
}
|
||||
|
||||
@@ -522,7 +522,6 @@ pub fn create_xr_session(world: &mut World) {
|
||||
}
|
||||
|
||||
pub fn destroy_xr_session(world: &mut World) {
|
||||
info!("running destroy!");
|
||||
world.run_schedule(XrPreDestroySession);
|
||||
world.remove_resource::<OxrSession>();
|
||||
world.remove_resource::<OxrFrameWaiter>();
|
||||
|
||||
Reference in New Issue
Block a user