

#DEVELOPING GAMES FOR MAC FOR MAC#
Visual Studio for Mac supports syntax highlighting for ShaderLab, Unity’s shader format. Previously you needed to learn their signature, now Visual Studio for Mac provides code completion for them when writing scripts for Unity. Unity messages are methods that are called by the Unity game engine. Visual Studio for Mac will display the solution the same way it is displayed in Unity, making it much easier to navigate and find your scripts. You can browse the local variables, analyze the call stack, and evaluate expressions. You can put breakpoints and step through your scripts. Simply click the start button in Visual Studio for Mac to attach the debugger to the Unity Editor. Opening any C# script from Unity will now launch Visual Studio for Mac. Getting started could not be easier: In Unity, simply set Visual Studio for Mac to be the external script editor. You’ll need at least Unity 5.6.1, the first version of Unity to support Visual Studio for Mac and the Tools for Unity.

We’re excited to include the Tools for Unity in this release, and give the opportunity to Unity developers on macOS to use Visual Studio for Mac. This is a full-featured IDE built for the Mac, to help you create anything from mobile and web apps to games. Today at the Microsoft Build conference, we announced the general availability of Visual Studio 2017 for Mac. Since then, we’ve successfully released multiple versions of the Tools for Unity on Windows, but never had the opportunity to bring our tools to Unity developers running macOS. In 2014, we released the first version of the Visual Studio Tools for Unity (VSTU).
