We can now go to Unity. First, we should make sure Unity knows we're using Visual Studio as shown in the steps ahead:
Go to Edit | Preferences.
In the External Tools tab, make sure Visual Studio is selected as your External Script Editor, like so:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.