- Home /
Link between two script in two different folders
Hello,
I need help... I try to use an exporting project ("Project B") in my project ("Project A") but when I try to put scripts of the "Project B" in the folder where there is scripts of the "Project A", the project don't run correctly but when I put the scripts of "Project B" in the root of my "project A", the project running well.
So I choose to use the second solution but when I do this, I can't use classes of the "Project A" in scripts of the "Project B".
This is my problem...
I take all your ideas(if anyone know how I can use scripts of the "Project B" in the folder where is scripts of the "Project A", this is perfect).
I explain the problem of the first solution : I download assetbundle in an object WWW and when I do that, the www.assetbundle.mainAsset is null if I'm not in the root of project A...
Thank in advance for your future help
Try manually importing all the scripts into Project A and it should work. It's likely that your scripts weren't considered part of the build.
Your answer
![](https://koobas.hobune.stream/wayback/20220613072723im_/https://answers.unity.com/themes/thub/images/avi.jpg)