{"id":225254,"date":"2016-11-17T15:15:10","date_gmt":"2016-11-17T23:15:10","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=225254"},"modified":"2019-05-03T15:18:47","modified_gmt":"2019-05-03T22:18:47","slug":"visual-studio-tools-for-unity-3-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-tools-for-unity-3-preview\/","title":{"rendered":"Visual Studio Tools for Unity 3 Preview"},"content":{"rendered":"<p>Today at <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2016\/11\/16\/visual-studio-family-of-products\/\">Connect()<\/a> we announced the release of the Visual Studio Tools for Unity 3 Preview. VSTU is Microsoft\u2019s free Visual Studio add-on that enables a rich programming and debugging experience for working with the <a href=\"http:\/\/unity3d.com\/\">Unity gaming tools and platform<\/a>.<\/p>\n<p>VSTU 3 Preview is part of the \u00abGame Development with Unity\u00bb workload that you can install from the <a href=\"https:\/\/www.visualstudio.com\/vs\/visual-studio-2017-rc\/\">Visual Studio 2017 RC installer<\/a>. With this workload, Unity developers can install just what they need to write and debug cross-platform Unity games with Visual Studio 2017 RC.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-225255\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/VS-2017-Installer-Worload-for-Game-Development-with-Unity.png\" alt=\"\" width=\"1542\" height=\"974\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/VS-2017-Installer-Worload-for-Game-Development-with-Unity.png 1542w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/VS-2017-Installer-Worload-for-Game-Development-with-Unity-300x189.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/VS-2017-Installer-Worload-for-Game-Development-with-Unity-768x485.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/VS-2017-Installer-Worload-for-Game-Development-with-Unity-1024x647.png 1024w\" sizes=\"(max-width: 1542px) 100vw, 1542px\" \/><\/p>\n<p>VSTU 3 Preview is also available for Visual Studio 2015 Update 3 on the Visual Studio Gallery at the following link:<\/p>\n<ul>\n<li><a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/8d26236e-4a64-4d64-8486-7df95156aba9\"><b>Visual Studio 2015 Tools for Unity<\/b><\/a><b><\/b><\/li>\n<\/ul>\n<p>VSTU 3 focuses on improving on the fundamentals of an IDE: code editing and debugging. The highlights of this release include:<\/p>\n<p><b>Code Coloration for Unity messages:<\/b> Unity messages (or event functions) now stand out from other methods in the editor. By default, they\u2019ll be colored like keywords, but you can change them to your liking. In this screenshot they\u2019re configured to be colored in bright orange.<b><\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-225256\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Code-Coloration-for-Unity-Messages.png\" alt=\"\" width=\"1535\" height=\"733\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Code-Coloration-for-Unity-Messages.png 1535w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Code-Coloration-for-Unity-Messages-300x143.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Code-Coloration-for-Unity-Messages-768x367.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Code-Coloration-for-Unity-Messages-1024x489.png 1024w\" sizes=\"(max-width: 1535px) 100vw, 1535px\" \/><\/p>\n<p><b>IntelliSense:<\/b> VSTU 3 Preview plugs into Visual Studio\u2019s C# IntelliSense engine to provide code completion for Unity messages. Just start declaring a method, and if you\u2019re in a class that supports Unity messages, our IntelliSense will kick-in and show you the list of Unity messages your script can implement.<b><\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-225257\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/IntelliSense.png\" alt=\"\" width=\"1536\" height=\"734\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/IntelliSense.png 1536w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/IntelliSense-300x143.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/IntelliSense-768x367.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/IntelliSense-1024x489.png 1024w\" sizes=\"(max-width: 1536px) 100vw, 1536px\" \/><\/p>\n<p><b>Improved Expression Evaluator:<\/b> The expression evaluator is responsible for displaying the values of the Locals and the results of the expressions you input into the Watch and Immediate Window. We\u2019ve improved our expression evaluator to behave closer to the .NET debugger that C# developers know and love.<b><\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-225258\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Improved-Expression-Evaluator.png\" alt=\"\" width=\"1393\" height=\"832\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Improved-Expression-Evaluator.png 1393w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Improved-Expression-Evaluator-300x179.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Improved-Expression-Evaluator-768x459.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/05\/Improved-Expression-Evaluator-1024x612.png 1024w\" sizes=\"(max-width: 1393px) 100vw, 1393px\" \/><\/p>\n<h3>Visual Studio 2017 RC and Unity<\/h3>\n<p>You&#8217;ll need at least <strong>Unity 5.4<\/strong> if you want to use Visual Studio 2017 RC as your script editor. Unity doesn&#8217;t know how to locate Visual Studio 2017 RC installations, you&#8217;ll need to select them manually. We&#8217;ll be working with Unity to make it work out of the box in future versions of Unity. In Unity, go to <strong>Edit -&gt; Preferences<\/strong>, and choose <em>Browse<\/em> in the External Script Editor. Make this point to the Visual Studio 2017 RC executable. By default, its full path is:<\/p>\n<p><em>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe<\/em><\/p>\n<p>If you have any suggestion or encounter any issue with VSTU 3 Preview, please report it via <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">Report a Problem<\/a> either from the installer or the Visual Studio IDE itself. Track your feedback on the <a href=\"https:\/\/developercommunity.visualstudio.com\/index.html\">developer community portal<\/a>. For suggestions, let us know through <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\">UserVoice<\/a>. Please <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">share your feedback<\/a> and help us ship a great VSTU 3!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today at Connect() we announced the release of the Visual Studio Tools for Unity 3 Preview. VSTU is Microsoft\u2019s free Visual Studio add-on that enables a rich programming and debugging experience for working with the Unity gaming tools and platform. VSTU 3 Preview is part of the \u00abGame Development with Unity\u00bb workload that you can [&hellip;]<\/p>\n","protected":false},"author":641,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[472,155],"tags":[182],"class_list":["post-225254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gaming","category-visual-studio","tag-unity"],"acf":[],"blog_post_summary":"<p>Today at Connect() we announced the release of the Visual Studio Tools for Unity 3 Preview. VSTU is Microsoft\u2019s free Visual Studio add-on that enables a rich programming and debugging experience for working with the Unity gaming tools and platform. VSTU 3 Preview is part of the \u00abGame Development with Unity\u00bb workload that you can [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/225254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/641"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=225254"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/225254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=225254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=225254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=225254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}