phoenix
New Member
Posts: 5
Posts: 5
|
Post by phoenix on Sept 7, 2016 22:26:09 GMT
Hi,
I would like to reduce the size of my initial build by moving the sounds to the internet. I noticed that I can put the url in the sound directly which is very cool!!!
I was wondering if the sound is download and cached so that if their is no internet connection next time the user plays the game, will the sound already be downloaded and available to be played? or does it need to be downloaded every time the game is run?
In a similar vein, Unity asset bundles use LoadFromCacheOrDownload which would download it once and cache it and I was wondering if you have any examples or preferred methods for putting the audio files in an asset bundle and then downloading them using LoadFromCacheOrDownload and then linking them to the appropriate place in Master Audio? Would I simply put the audio prefab in the asset bundle with the links to the audio files in the asset bundle and then when I instantiate the asset bundle all the files will be ready to be played?
Any help in the best direction to accomplish this would be much appreciated.
Thanks
|
|
|
Post by DarkTonic Dev on Sept 8, 2016 0:23:51 GMT
We don't have any support for bundles but I know some customers have written their own things for it. I don't have any examples though.
It's not cached at all but i believe we have an item on the roadmap to investigate that.
I could not think of a way to support bundles in a zero code way but if you have an idea let me know.
|
|