- Home /
Can I use .NET 4 library or Mono 2.8 in Unity ?
I have .Net 4 installed, can I used it DLL files in unity 3.1 ? or Can I use the latest Mono 2.8.1 in Unity ?
I don't quite understand which one that unity actually use, .Net or Mono ? any explanation will help. Thanks
Answer by burnumd · Dec 03, 2010 at 03:17 PM
Per the "What's new" page, Unity 3.x uses Mono 2.6.3, which is compatible with C# 3.5. From the notes, "Upgrade Mono and C# compiler to Mono 2.6.3. This brings C# 3.5, variable type inference, lambda expressions, LINQ and more. [...] Mono class libraries derived from Silverlight profile for the web player."
Thanks for the answer Does unity $$anonymous$$m have plan to use $$anonymous$$ono 2.8.1 ?
Upgrades to $$anonymous$$ono within the engine have historically arrived with major releases (i.e., not until Unity 4.0) in order to maintain webplayer compatibility within point releases. I'm not Unity staff, though, so I can't speak to what they're working on. If that answers your question, please be sure to mark it as answered so it no longer appears on the unanswered questions page (and also I get points :) ).
Nice to see that Unity 3.0 moves us up to C# 3.5, I look forward to upgrading :-)
Answer by hullr · Aug 29, 2013 at 01:11 PM
From the Unity website: "To create a DLL, you will first need a suitable compiler. Not all compilers that produce .NET code are guaranteed to work with Unity, so it may be wise to test the compiler with some available code before doing significant work with it."