make OxrInitPlugin impl Default with the values from add_xr_plugin and made the ref_space_type public for the OxrReferenceSpacePlugin
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ use bevy_xr::session::{status_changed_to, XrStatus};
|
||||
use crate::{init::OxrPreUpdateSet, resources::OxrSession};
|
||||
|
||||
pub struct OxrReferenceSpacePlugin {
|
||||
default_primary_ref_space: openxr::ReferenceSpaceType,
|
||||
pub default_primary_ref_space: openxr::ReferenceSpaceType,
|
||||
}
|
||||
impl Default for OxrReferenceSpacePlugin {
|
||||
fn default() -> Self {
|
||||
|
||||
Reference in New Issue
Block a user