Last year I wrote about Integrating Visual Studio with Unity3d on Mac using UnityVS Tools. However the solution was still not ideal for me due to:
- Maintaining a VM on a Mac purely for Visual Studio is quite overkill.
- Being experienced with IntelliJ, I found VS less familiar even with ReSharper.
Unity Dev with Visual Studio Code is alot more light weight, cross-platform and well documented. Perfect for VS users. But in the end I personally still prefer Jetbrain keymap to avoid context switching. Since I do all my backend code (Golang, Node, Serverless) using IntelliJ.
I tried Consulo but it was a bit of a hit and miss, and not really a production ready product.
Then there is Jetbrains Rider, which has added a lot more Unity support feautures recently and is looking quite promising.
There are a number of plugins and unlike VSCode, there isn’t a nice consolidated instruction document. So here are steps I took for those interested to do the same:
- Download and install the latest Jetbrain Rider
- Install ReSharper for Unity during the Rider installation process, or from the Plugins menu afterwards.
- Install Unity3dRider into your Unity3d project
To leverage the latest improvements in C# 5.0, 6.0 or 7.0:
CSharp70Supportvia unity-c-5.0-and-6.0-integration plugin
- Reimport all assets. Unity3dRider is compatible with
Fellow Jetbrains users now have access to the same IDE across all platforms, with the same familiar keymap and support for the latest C# versions. It’s really quite awesome. Enjoy!