Quantcast
Viewing all articles
Browse latest Browse all 706

How do I reference components inside a managed .dll?

Hello! I have this problem where script files in a .dll don't get recognised. I am developing my asset for release to the Asset Store. I want the package to contain a .dll source file together with some prefabs. Once I compile all of the scripts into a .dll, I get the resulting structure: ![](https://forum.unity3d.com/attachments/upload_2016-11-23_9-14-40-png.209377/) I then go ahead and export it as a .unitypackage (except for the scripts folder) Later, however, when imported into a different project, the prefab loses all of the references to the scripts in the .dll library. ![](https://forum.unity3d.com/attachments/upload_2016-11-23_9-18-13-png.209378/) The thing is that if I try to add the components compiled in the .dll, I get the following error: ![](https://forum.unity3d.com/attachments/upload_2016-11-23_9-20-58-png.209380/) I can't find a way get around the problem and I don't know what I am missing. I would appreciate some help. Thank you

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>