Load a DLL only when needed ?

Hello there !

So here’s the problem : I use a DLL in my project (in a Plugin folder) and so far it’s been working just fine. However, the DLL is pretty heavy (3.5 MB) and it makes initial loading in webplayer pretty long. Is there a way to load a DLL the same way you would load an Asset Bundle ? (in a user-defined coroutine for example)

Thanks in advance for your answers !

I haven’t tried it myself, but it looks like you can put the DLL in an Asset Bundle and use Assembly.Load(). See: http://docs.unity3d.com/Documentation/Manual/scriptsinassetbundles.html