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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容