Reflection integration for more types.

This commit is contained in:
Nolan Darilek 2022-12-06 16:59:49 -06:00
parent 3fecb314f6
commit b4d298636d

View File

@ -714,6 +714,14 @@ 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::<Sound>()
.register_type::<Listener>()
.insert_resource(guard)
.insert_resource(context)