mirror of
https://github.com/lightsoutgames/bevy_openal.git
synced 2024-11-24 02:05:57 +00:00
Add reflection support.
This commit is contained in:
parent
04edd60e9a
commit
8c69401202
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user