You can easily access the Unity Scripting API documentation on a specific topic from within Visual Studio. To do so:
- Select the Unity-specific method, variable, etc within your code that you wish to look up (no need to highlight)
- On the toolbar, go to Help > Unity API Reference
To speed things up, you can create a keyboard shortcut…
Identify and customize keyboard shortcuts in Visual Studio
Note: to find the command you’re looking for, search “unity” and select “Help.UnityAPIReference”
Note2: this command may already have shortcuts assigned to it, but in my case they didn’t work and seemed to already be assigned to a different command. I used Ctrl + Alt + S for my custom shortcut as it wasn’t already taken.
As a bonus (because nobody should have to suffer through VS’ native browser)…
Opening API docs in computer’s default browser instead of Visual Studio’s native browser
Note that I am using Visual Studio Community 2017; different versions of VS may have different steps