- Home /
Question by
tsx5000 · Jan 13, 2015 at 03:23 AM ·
assetbundledlldynamic
Cross reference multiple DLLs through AssetBundles
I have created a framework which downloads the entire game via assetBundles and assigns the scripts on objects at runtime. The scripts are also placed in a dll which is downloaded via an assetbundle. I will explain my problem through an example :
I have a gameObject say 'One' which is responsible for downloading DllBundle1 containing game managers - say 'A' and 'B'. A and B scripts are assigned to a gameObject which is persistant throughout the game. A is responsible for downloading the game assets and their respective scripts(DllBundle2) say 'ScriptOne'. How do I access the variables/ functions present in A from ScriptOne as they are in different Dlls and assigned dynamically on the gameObjects?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613180249im_/https://answers.unity.com/themes/thub/images/avi.jpg)