You can confirm this or change the external script editor to a specific version of Visual Studio from the Unity Editor. By default, Unity should already be configured to use Visual Studio or Visual Studio for Mac as a script editor.
There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed.NET assemblies created with tools like Visual Studio) and Native plug. 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.