Unity-VS Code 编辑器相关处理

问题一:

编辑器报错 OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded...

解决办法参考链接

解决步骤如下:
Go to settings. (Code -> Preferences -> Settings on Mac)
Search "omnisharp".
Find the section "Omnisharp: Use Global Mono," and set it to "always."
Find the section "Omnisharp: Path," and click "Edit in settings.json." Change "omnisharp.path" as "omnisharp.path": latest".
Reload the window.

问题二:Unity 代码自动补全

Visual Studio Code 中不能自动对 C# 代码补全,
参考解决方案:https://www.bilibili.com/read/cv9764864

你可能感兴趣的:(Unity-VS Code 编辑器相关处理)