Unity无法识别visual studio问题

441 阅读1分钟

新安装的Unity,选择代码IDE的地方无法自动识别visual studio了。安装微软官网以下提示解决:

Add a version of Visual Studio that is not listed

It's possible to select other versions of Visual Studio that are unlisted and installed in a custom directory.

  1. Select Browse...  from the dropdown list.
  2. Navigate to the Common7/IDE directory inside your Visual Studio installation directory and select devenv.exe. Then, click Open.
  3. For Unity 2019 and older only, confirm that the Editor Attaching checkbox is selected.
  4. Close the Preferences dialog to complete the configuration process.

参考链接:docs.microsoft.com/en-us/visua…