Hi, i know we can't transfer files through asset bundles. However, i need to download scripts from a web server at runtime and attach them to assets at runtime, too. Is there a way to achieve this? Thanks.
I haven't tried it, but the way I would do it would be to create an asset bundle with a gameObject that has the script you want attached to it. When the bundle is loaded you add the script to the object that needs it using addComponent.
Hi, illogika. Thanks for the replya, but isn't it that scripts don't get transfered using Asset Bundles. It's just the reference that is saved.
Yes, I see that you are right. After a quick search, I found a blogpost explaining an alternative method to add functionality to a standalone player: http://angryant.com/general/tipsandtricks/downloading-the-hydra/