Audio and Keyboard Input · Version 0.5
Music and Sound Components
Attach authored Music or Sound definitions to scene objects and control scene-owned playback.
Music and Sound Components connect Audio Library definitions to scene objects.
Music
Use a Music Component for scene-owned background playback. Configure the authored Music ID and its supported playback behavior.
Scene music can use fades, and playback ownership is cleaned up when the scene changes or Play Mode ends.
Sound
Use a Sound Component for authored effects associated with a Game Object. Runtime sound playback supports concurrent clips, and completed sounds are cleaned up automatically.
Stable references
The Inspector uses the Audio registry so Music Components select Music definitions and Sound Components select Sound definitions. A mismatched or missing kind is rejected during validation.
Keep Audio source files inside the project so the registry and later project packaging can find them reliably.