Load sound assets without the editor

#1

Hello guys :slight_smile:
I’m following this example https://github.com/xen2/Xenko.CodeOnlySample to get a small working example, but using sound.

My problem, is that reading the documentation, I can’t find the correct way how to load a sound assets directly from a wav / ogg / whatever file directly from the disk.

On the example the texture is loaded from disk, but for the soun base classes i can’t find any similar.

So, how is the correct way for this?

¡thanks!

0 Likes