Reorder type registrations and remove comments for unsupported reflection type.

This commit is contained in:
Nolan Darilek 2022-12-07 11:18:26 -06:00
parent 6ef9d3a56a
commit 36f7c62836

View File

@ -66,7 +66,6 @@ impl Default for Source {
}
#[derive(Component, Clone, Copy, Debug, Deref, DerefMut)]
// #[reflect(Component)]
pub struct PannerStrategy(pub syz::PannerStrategy);
impl Default for PannerStrategy {
@ -714,13 +713,13 @@ impl Plugin for SynthizerPlugin {
let context = Context(context);
app.add_asset::<Buffer>()
.init_asset_loader::<BufferAssetLoader>()
.register_type::<Source>()
.register_type::<DistanceRef>()
.register_type::<DistanceMax>()
.register_type::<Rolloff>()
.register_type::<ClosenessBoostDistance>()
.register_type::<AngularPan>()
.register_type::<ScalarPan>()
.register_type::<Source>()
.register_type::<Sound>()
.register_type::<Listener>()
.insert_resource(guard)