当前位置:网站首页>Unity 5 自帶的Mono也可以支持C# 6
Unity 5 自帶的Mono也可以支持C# 6
2022-06-21 08:20:00 【kuilaurence】
Unity 5自帶的Mono也可以支持C# 6,在mcs.rsp文件中添加一行:-langversion:6即可。
參考鏈接:“https://blog.csdn.net/linyiquan/article/details/81105955”
2020年11月13日新的:
Unity5只支持 framework3.5 好多C#新的內容不能用;
只能自己想辦法,怎樣才能使用高級特性.
需要CSharp70Support插件
步驟1:將插件解壓到項目根目錄,即與Assets同級的目錄:
步驟2:進入文件夾,以管理員運行 ngen install.cmd
步驟3:成功以後,將文件夾裏的CSharp70Support.unitypackage導入到unity.
最後:點擊一下
自動重啟項目;
tips:(備用可選操作,如果還有報錯,關閉unity,删除根目錄的Library文件夾,等開unity會自動生成library文件)
边栏推荐
- Using the method of combining shapes in illustrator
- Eureka's timedsupersortask class (periodic task with automatic interval adjustment)
- Linux Installation of Damon database /dm8 (with client tool installation full version)
- 【元宇宙3d大赛】
- Journal (résumé en langue c)
- 群暉DSM7添加套件源
- General business plan
- 测试入门——软件测试模型
- Global and Chinese market of carton folding and bonding machines 2022-2028: Research Report on technology, participants, trends, market size and share
- There was a GC failure in the online go service. I was in a hurry
猜你喜欢

MMS for risc-v

移动应用开发总结

怎么搭建深度学习框架?

Classic topics of leetcode array (I)

Three ways to solve cross domain problems

Redis master-slave vulnerability and remote connection vulnerability

【kotlin】第一天

2022-2028 global internal gear motor industry research and trend analysis report

Using elastic stack to analyze Olympic data (II)

Mongodb installation (Graphic tutorial)
随机推荐
[Redis]-[Redis底层数据结构]-SDS
关于sql的问题:两张表的字段关联问题
LeetCode数组经典题目(一)
Global and Chinese market for crankshaft position sensors 2022-2028: Research Report on technology, participants, trends, market size and share
1006 sign in and sign out (25 points)
【kotlin】第一天
Joking Domain Driven Design (VI) -- Boundary context -- Design
Eureka's timedsupersortask class (periodic task with automatic interval adjustment)
[DB written interview 367] in the three-level schema structure of the database, the description of all data logical structures and features in the database is ()
Blue Bridge Cup: Candy
Summary of mobile application development
2022-2028 global after sales spark plug industry research and trend analysis report
php exec、 system 、shell_ Exec cannot be executed. There is no result. The result is nulld. Solution
[redis]-[redis underlying data structure]-sds
Yunkang group passed the hearing: the revenue exceeded 1billion in 8 months and the profit within the period was 270Million
1004 counting leaves (30 points)
4.4 Eval function replaces function
Use lua+redis+openresty to realize concurrent optimization of e-commerce Homepage
Global and Chinese market for packed gas chromatographic columns 2022-2028: Research Report on technology, participants, trends, market size and share
Listing of flaunting shares on Shenzhen Stock Exchange: market value of 4.2 billion, 9-month revenue decreased by 21% year-on-year