Add reflection support.

This commit is contained in:
Nolan Darilek 2022-01-10 14:07:27 -06:00
parent 04edd60e9a
commit 8c69401202

View File

@ -182,6 +182,7 @@ impl Default for SoundState {
} }
#[derive(Component, Clone, Reflect)] #[derive(Component, Clone, Reflect)]
#[reflect(Component)]
pub struct Sound { pub struct Sound {
pub buffer: Handle<Buffer>, pub buffer: Handle<Buffer>,
pub state: SoundState, pub state: SoundState,