当前位置:网站首页>Unity 脚本无法显示C#源码的中文注释 或者VS创建的脚本没有C#源码的注释
Unity 脚本无法显示C#源码的中文注释 或者VS创建的脚本没有C#源码的注释
2022-06-10 22:21:00 【王源骏】
一、unity脚本没有C#源码注释
1、在电脑打开:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6
里面有一个zh-Hans的文件(中文注释文件)
2、把zh-Hans拷贝到自己unity安装的目录下 D:\Unity\Editor\Data\MonoBleedingEdge\lib\mono\4.7.1-api
我的unity 在D盘,使用的是4.7.1,重启unity和VS 就可以看到中文注释了
3、如何查看自己unity 使用的是那个Framework版本
在unity在中随便创建一个脚本,写上string、或者List等这些C#源码 右键转到定义
把zh-Hans拷贝到这个路径既可,
二、VS创建的脚本没有中文注释
1、在电脑打开:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6
里面有一个zh-Hans的文件(中文注释文件)
2、把zh-Hans文件拷贝到每个目录下,重启VS既可
v3.5可以不用拷贝,(我也不太清楚这个是什么,里面有Unity的文件,),之前 搜索说吧zh-Hans文件拷贝到v3.5/Profile/unity subset v3.5文件下,就可以有中文字注释了,我试了并没有用
边栏推荐
- Build TAR model using beersales data set in TSA package
- Dell r730 RAID5 installation server 2016 (disk larger than 2t)
- R language to draw two-dimensional normal distribution density surface;
- Data and information resource sharing platform (V)
- 数学与素质教育
- PwnTheBox,Pwn:tutorial1
- Halcon combined with C # to detect surface defects -- affine transformation (II)
- 期货开户有什么限制嘛?哪里最安全?
- LeetCode+ 16 - 20
- Electronic Society C language level 1 7. Draw rectangle
猜你喜欢

Expandable to Max – MCU and MPU development, using the same license

Is it too late to teach yourself programming at 28? Is it reliable?

数据与信息资源共享平台(九)

【Flutter 问题系列第 6 篇】如何在 Flutter 中实现列表消息的滚动效果

34. find the first and last positions of elements in the sorted array - binary search, double pointer

Data and information resource sharing platform (IV)

Why is the video fusion cloud service easycvr cluster video event query invalid?

Reptiles learn knowledge

LeetCode+ 21 - 25

MySQL table mechanism
随机推荐
About not being able to create a new package under Src in idea
Redis list list common commands
Ribbon load balancing policy
Project training 13 - Interface supplement
云图说|每个成功的业务系统都离不开APIG的保驾护航
Interview questions - written examination
Wireshark抓取rtp负载ts流介绍(UDP组播)
启牛的证券是哪个证券公司的呢?安全吗?
Model Workshop
数据与信息资源共享平台(四)
Laravel8 enables alicloud file upload
leetcode 130. Surrounded Regions 被围绕的区域(中等)
Data and information resource sharing platform (VIII)
Lenovo explained for the first time the five advantages of hybrid cloud Lenovo xcloud and how to build an intelligent digital base
34. 在排序数组中查找元素的第一个和最后一个位置-二分查找、双指针
About string format(String format, Object... args)
[QPSK if] Verilog design of QPSK IF signal generation module based on FPGA
The time (in minutes) required for a group of workers to cooperate to complete the assembly process of a part are as follows:
数据与信息资源共享平台(五)
项目实训10——对特定数据库的备份