I am currently pulling a
.wav file from an API. I would like to play it at run-time. Currently I need to save the
.wav file to the
persistentDataPath and then use the
WWW class to load an audio clip using the
file:// prefix. It works fine but the docs do mention that the
WWW class is obsolete. What other options do I have if I want to avoid the obsolete method group?
I don't need to save the file to disk, I am simply doing that at the moment because its fairly safe to save it and then read it back out.