Few weeks ago i thought i saw an item at the unity roadmap that c# were to be upgraded to 5.0. Again i thought… it would be a lot helpful and useful to my projects…
Anyone have some news about it?
Or know where could i have seen something about this?
Not that I know of officially from Unity (I may be wrong).
There has been a topic running here on the forums where some people figured out how to force Unity to use the newer version of their compiler which has C# 6.0 syntactical support (note the target runtime is still only .Net 2.0, you won’t get newer than any time soon).
I don’t remember where the thread is, but here’s @alexzzzz 's project for integrating it:
https://bitbucket.org/alexzzzz/unity-c-5.0-and-6.0-integration/src
Unity wants to bring il2cpp to most platforms first, before they upgrade to a newer .Net version which is going to include newer C# versions.
This might be interesting in this context:
http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/
This is where i saw then…
when il2cpp be implemented we’ll probably see something about the C# upgrade!
thats a very nice workaround!
ya would be nice to get an official update!
this mostly works tho
https://bitbucket.org/alexzzzz/unity-c-5.0-and-6.0-integration/src
The short answer is no, the upgrade won’t be here in time to count on it for any current projects.
Any updates on this topics?