美文网首页
Unity-VS Code 编辑器相关处理

Unity-VS Code 编辑器相关处理

作者: 九九丸子 | 来源:发表于2021-12-29 00:45 被阅读0次

问题一:

编辑器报错 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 编辑器相关处理

      本文链接:https://www.haomeiwen.com/subject/ggbifrtx.html