Using C# 6 and dotnet 4.6 in Unity3d

Unity3d 2017.1 includes experimental support for c# 6 and 4.6. This enables us to use a bunch of new features. To enable .net 4.6 support go to Edit->Project Settings->Player->Other Settings->Configuration->Scripting Runtime Version. Properties are already available in Unity3d. But c# 6 gives us the ability to have read only properties.

Actions