

- #Visual studio tools for unity plug in how to
- #Visual studio tools for unity plug in install
- #Visual studio tools for unity plug in update
- #Visual studio tools for unity plug in Offline
The Unity Editor installer includes an option to install Visual Studio with the Visual Studio Tools for Unity plug-in A set of code created outside of Unity that creates functionality in Unity. More info See in Glossary.Ĭonfiguring the code editor Visual Studio (Windows)

Universal Windows Platform, however, supports only two. Unity supports three different scripting backends depending on target platform: Mono. More info See in Glossary scripting backends A framework that powers scripting in Unity. It works with both the Mono and IL2CPP A Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. Managed code debugging in Unity works on all platforms except WebGL A JavaScript API that renders 2D and 3D graphics in a web browser.

Visual Studio (with the Visual Studio Tools for Unity plug-in)Īlthough these code editors vary slightly in the debugger features they support, all provide basic functionality like break points, single stepping, and variable inspection. Unity supports debugging of C# code using the following code editors: I was unable to bind a key or create a button so you will need to run it from the menu option created.Using a debugger allows you to inspect your source code while your application or game is running. It is in a slightly different menu location (mentioned below), but very similar to Visual Studio setup. Avoid selecting quotes in search text as it will cause undesired behavior. Warning: The external tool runs as a command line argument. Select the text you want to search then run the external tool with preferred method (toolbar button, shortcut key, or menu option). To add a keyboard shortcut… go to Tools > Options > Environment: Keyboard and look for the command "Tools.ExternalCommand#”.
#Visual studio tools for unity plug in how to
follow steps earlier above on how to add the API reference button, but instead of the command "cmdIdUnityDocumentation" choose "External Command #” under the Tools category. Replace "#" in the below two items with the number of external tools noted earlier.

"file:///C:/Program Files/Unity/Editor/Data/Documentation/en/ScriptReference/30_search.html?q=$(CurText)” Make note of how many external tools there are now (it will be needed later).Įnter path to your desired browser as Command:Ĭ:\Program Files (x86)\Mozilla Firefox\firefox.exe
#Visual studio tools for unity plug in update
Other options would be to build an add-in for Visual Studio (or MonoDevelop) or ask Unity to update the existing add-in.
#Visual studio tools for unity plug in Offline
Searching Offline Docs: By request, the below instructions provide a way to more easily search offline documentation. Please see RedElijah's comment if you would also like to change the API Reference to open in an external browser instead of inside a Visual Studio tab. There should now be a Unity API Reference button on the toolbar This may be possible in other versions, but I only decided to do this recently.Ĭhoose the new toolbar name in the dropdown In MonoDevelop, the shortcuts are CTRL+' (Windows) or CMD+' (Mac)Īdding a Button to The Toolbar: With the tighter integration with Visual Studio mentioned in the Unity 5.2 release notes, it's fairly simple to add a button to the toolbar instead of using the shortcut keys. Go to: Debug > Options and Settings > Environment > Keyboard If you want a simpler shortcut or even to make it the same as in MonoDevelop, you can do the following. Make sure Visual Studio Tools for Unity is installed and the configuration is done.Īs djradon mentioned, the standard shortcut is CTRL+ALT+M,CTRL+H for Unity Documentation Access I realize this is an old question, but wanted to add some additional information for those that might benefit.įor those that don't have it, install Visual Studio.
