- Home /
Question by
Sujil-V-S · Dec 29, 2016 at 12:41 PM ·
ioswebglassetbundleaotdynamic loading
Loading scripts dynamically in AoT compilers
Hello all, I want to make asset bundle with scripts in it (DLL also) and load them dynamically. I am able to load them properly using System.Reflecton in JIT compilers. What best approach we can do to make it work on AoT compilers (WebGL and iOs). The scripts are coded in C#. Thanks in advance
Comment
Answer by Socapex · Dec 29, 2016 at 03:51 PM
I don't believe you can do that in the AoT compiled executables. Is there a good reason why you want to load everything dynamically?
I have more number of models and scripts which is needed to be used but not all the time. Whenever i need particular models to be used, I can load them from asset bundle with the script.