- Home /
Reference to a library
I found this question: http://answers.unity3d.com/questions/30143/how-can-i-put-components-in-external-dlls-and-stor.html
It talks about using DLL's in a project and that it would be possible to use MonoBehaviour inside of these DLL's.
But C# also uses references to other projects with source files. Is it possible to add a reference to a library project as well? I would like to do this, because I want two projects to use one shared library with some general files.
Answer by Nazirzadeh · Nov 15, 2018 at 02:01 AM
If you want to share codes between two projects have look at share code.
I recommend to export them as a unitypackage, it gives you more flexibility.
Your answer
Follow this Question
Related Questions
Multiple DLL with the same class reference 1 Answer
Why are these missing assembly references by working on the game "Astro Dude?" 0 Answers
How to use UnityEngine library in c++ to develop game server? 0 Answers
Best way to build a Mono assembly? 1 Answer
Unity Editor Error CS0234: Build doesn't exist in the namespae "UnityEditor" 5 Answers