Hello there!
How Can I load a prefab from internet?
I have been looking for a couple of days, and I read that is it possible creating asset bundles, but I haven’t succeed doing it that Way.
I Create an Asset Bundle, but that generate a lot of files, which one should I Load from internet?
Any help will be appreciated.
http://docs.unity3d.com/Manual/BuildingAssetBundles5x.html
http://docs.unity3d.com/Manual/DownloadingAssetBundles.html
… thats all i know about them lol
I used a script they had in those docs about how to load them “CachingLoadExample.cs”
(in my usage, iam loading from MyDocuments … not from the internet)
… anyway, the files have no file extension, maybe thats how you got an error?
“firearms” is the name of the file the assetbundle builder gave me… (well i told it that name lol)
Rifle00 is the prefab i wanted to load, its not visible to me in Windows 8.1 file system, its encrypted inside firearms (no file extension)
and this is what i put into the fields the script gave me in the inspector:
Bundle URL: file://C:/Users/-username-/Documents/My Games/-gamesname-/VanillaData/Bundles/items/firearms
asset name: Rifle00