当前位置:网站首页>【unity】将unity编辑c#配置为vscode
【unity】将unity编辑c#配置为vscode
2022-07-28 23:41:00 【柒海啦】
前言:
Visual Studio Code 可以成为 Unity 用于编辑 C# 文件的绝佳伴侣。支持所有 C# 功能以及更多功能。下面是我记录的如何将unity编辑c#配置为vscode一篇学习笔记,官方文档网址在这:Visual Studio Code and Unity,我们共同学习进步吧~
一、在vscode中使用.NET:
1.下载.NET(用于生成不同类型的应用程序)
首先下载 .NET(Linux、macOS 和 Windows) (microsoft.com)。

下载安装好后关闭即可。

然后检查是否正确安装所有内容:
利用win + r输入cmd打开命令窗口,运行指令dotnet,如果安装成功,会看到如下输出:

2.在vscode安装c#扩展:

在vscode代码设置编辑器取消选中 C# 扩展的“Omnisharp: Use Modern Net"


取消选中即可。
二、unity中设置vscode为默认脚本编辑器

然后就新建一个测试脚本试试吧~
边栏推荐
- Tips for API interface optimization
- mysql时间按小时格式化_mysql时间格式化,按时间段查询的MySQL语句[通俗易懂]
- 分类预测 | MATLAB实现TCN时间卷积神经网络的时序分类预测
- Data warehouse construction - ads floor
- Breadth first search (BFS) and its matlab code
- mysql存储过程 实现创建一张表(复制原表的结构新建的表)
- Rk3399 9.0 driver add powser button
- 数仓搭建——DWT层
- Matlab02: structured programming and function definition "suggestions collection"
- What are the methods to track the real-time market of London Silver?
猜你喜欢

Error reporting: Rong Lianyun sends SMS verification code message 500

Android必备的面试技能(含面试题和学习资料)

伦敦金即时行情带来什么机会?

时序预测 | MATLAB实现TCN时间卷积神经网络的时间序列预测

【目标检测】YOLOR理论简介+实践测试VisDrone数据集

🧐 Table1 | finish your third line watch in one second

消费行业数字化升级成“刚需”,weiit新零售SaaS为企业赋能!

Consumer unit 消费单元

Outlier detection and Gan network (1)

小程序毕设作品之微信校园浴室预约小程序毕业设计成品(6)开题答辩PPT
随机推荐
Consumer unit 消费单元
Outlier detection and open set identification (1)
自制 | 纯手工自制一个16位RISC架构CPU
[AD learning] the course of PCB drawing in this marine vehicle competition
What are the methods to track the real-time market of London Silver?
Kwai focuses on regulating the number maintenance behavior in the ways of handling and manuscript washing, and how to purify the content ecology on the we media platform
Api 接口优化的那些技巧
Selenium docking agent and selenium wire access developer tool network
CUDA related
Yield Guild Games:这一年的总结与未来展望
快手重点整治搬运、洗稿等方式的养号行为,自媒体平台如何净化内容生态
mysql时间按小时格式化_mysql时间格式化,按时间段查询的MySQL语句[通俗易懂]
时间序列数据的预处理方法总结
Minimum dominating set (MDS) and its matlab code
Relying on cloud business to support revenue growth alone, is Microsoft still overvalued?
iNFTnews | 元宇宙购物体验将成为吸引消费者的一大利器
[basic course of flight control development 8] crazy shell · open source formation uav-i2c (laser ranging)
How to explain JS' bind simulation implementation to your girlfriend
Send SMS verification code asynchronously using Ronglian cloud celery
Asynchronous mode worker thread