- Home /
Is it possible to for a user to add another Mono language to Unity?
How feasible is it for a user to add another Mono-targeted programming language to Unity? (I have no concrete plans to do so, but occasionally I have fantasies of programming everything in Lisp). I'm guessing it's somewhere from possible to problematic for desktop Unity and problematic to impossible for Unity iPhone.
Answer by jashan · Nov 10, 2009 at 03:58 AM
I don't think it will be possible to add "native language support" for another language to Unity without a terrible hack.
However, what you can do quite easily is create an assembly (DLL) in any .NET / Mono language which you can use from your Unity scripts. All you need to do that is compile your library separately and copy it into your assets folder. The main limitation is that you can't trivially create MonoBehaviors that way.
However, you could probably create a structure that "links" very simple C# or UnityScript MonoBehaviours into more complex classes written in your .NET language of choice. In other words: You'd keep the actual implementation in your DLL and just call the relevant methods of classes that reside in your custom DLL written in a custom language.
With Unity iPhone, you need to be careful because there's a limitation of how many assemblies (DLLs) you can include in a build. And of course, Unity iPhone currently only supports .NET 1.1 (or at least, it doesn't support generics).
Answer by AngryAnt · Nov 10, 2009 at 01:07 PM
Not at the moment, no ;)
very old post that was never closed, but i'm curious 10 years later if anything has changed? would be interesting to know. I have partners who know other languages and not sure if i can use their help at this time.
Your answer
![](https://koobas.hobune.stream/wayback/20220613160857im_/https://answers.unity.com/themes/thub/images/avi.jpg)