NO LONGER A SUPPORTED PRODUCT
edited by moderators.
We believe that Unity developers deserve to have access to the newest development tools. That’s why our team worked hard on integrating the newest Microsoft Roslyn compiler into Unity.
C# 6.0 brings developers many new and exciting features. Another added benefit is improved compilation time provided by the newest C# compiler.
This tool works by redirecting compilation requests from within Unity to the newest Microsoft Roslyn compiler. Compiled code is compatible with .NET 3.5 and is guaranteed to work on most platforms.
Supported deployment platforms:
Windows, Mac, Android, iOS. Webplayer is currently not supported. Other platforms may be supported, but weren’t yet tested.
Although produced binaries will run on the above mentioned platforms, current version of this tool works only on Windows. C# 6.0 code won’t currently compile on Mac OS.
Supported new language features:
$"GameObject name: {gameObject.name}"
public string FullName => $"{FirstName} {LastName}"
Default values of auto properties:
public string FirstName {get; set;} = "John"
Null-conditional ?. operator:
Partially supported, currently not supported with components inherited from Object as it overrides the equality (==) operator. Regular C# types are supported.
material?.Shader?.Name?.Length
using static Math;
...
float sin90 = Sin(90f);
Debug.Log($"name of variable is {nameof(someVar)}")
public Dictionary<string, string> CountriesList = new Dictionary<string, string>
{
["ca"] = "Canada",
["us"] = "United States",
["uk"] = "United Kingdom",
["ch"] = "China"
};
Features not supported:
Async/Await
Dynamic data types
Current version is 1.07 (released on April 10th 2015):
-
Improved logging
-
Fixed concurrency issues
-
Fixed uninstallation bug
-
Fixed missing debug information bug
The tool can be purchased at: http://www.unityninjas.com/downloads/unity-c-6-0-compiler/
The price is $25.
__**A free fully-featured 30-day trial is now available at: http://bit.ly/CS6TRIAL**__
Please send bug reports to goldenzebrasoftware@gmail.com instead of posting them in this thread. This will help us to fix the bug faster, and will make the forum thread easier to read. Thank you!