Hi Everyone,
I am new to unity and having some trouble getting some .Net/Mono code to work. So this may be a total noob question (and probably the cause of my grief) but which version of .Net does Unity Support. Most of my code is .Net 2.0 and compiles great on windows (and as a different problem compiles and works on Unity 2.5 Mac but not 2.5 Windows).
Note: this is more of a RTFM but which manual question as opposed to a specific code issue problem.
Unity iPhone only supports .NET 1.1 on device, all other Unity platforms do support .NET 2.0
Or part of .NET 2.0 and .NET 3.0
Unity is mono 1.2.5, which does not have all .NET 2.0 features fully implemented. At best check the mono page what 1.2.5 has.
Stuff that was only half done back then or of no use for client usage (unity has no server capability) potentially is not present in Unity.
Mono supports VB.Net, but Unity’s listed support only covers Boo, UnityScript and C#. Is it somehow possible to code in VB.Net for Unity/Unity iPhone ?
You can compile the code to an assembly and attempt it.
But I’m not sure how much of VB relies on .NET 2.0+ features.
It tends to simply a lot of things similar to unityscript, which will not work on the iphone (like boo does not work and dynamic typing of UnityScript)
If you can create .NET 1.1 projects with VB.NET it theoretically should work as long as you only use the aspects that are offered within the cutdown .NET 1.1 distribution (not all are present as even .NET 1.1 is much larger than you would want your app to be on the iphone)