From 8c694012023dfdc1e9f09bf12abb2b03ae8e8aee Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 10 Jan 2022 14:07:27 -0600 Subject: [PATCH] Add reflection support. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8cd4752..fe47b58 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -182,6 +182,7 @@ impl Default for SoundState { } #[derive(Component, Clone, Reflect)] +#[reflect(Component)] pub struct Sound { pub buffer: Handle, pub state: SoundState,