Hello,
I am wondering how most of you approach sharing common functionality across your unity projects?
Do you develop .NET class libraries along the way?
If so, how do you get to use the UnityEngine dlls as part of your library?
For example, do you keep a local copy of the dll which you reference by filesystem location and etc (as I was doing for some time). What best practices would you recommend when you want to switch to a newer Unity version?
Is there a way to enable library sharing with the new assembly definitions / (.asmdef) and how?
I have personally used class libraries successfully for a couple of years now. However,
I ran recently into an issue (see here: Issues with UnityEngine.UI when referenced in a class library, since Unity 2019 - Questions & Answers - Unity Discussions), and I am starting to wonder whether the class library approach is still suitable for modern unity development. That is why I am creating a poll in order to get a better picture on the matter.
Iād love to see you share your thoughts on the topic.