首页 > 编程语言 > 详细

Unity "Feature 'out variable declaration' cannot be used because it is not part of the C# 4.0"

时间:2019-08-30 10:43:23      阅读:437      评论:0      收藏:0      [点我收藏+]

Unity2017升级到2019后,脚本全都不可用,报错后半段部分内容为“Feature `out variable declaration‘ cannot be used because it is not part of the C# 4.0 language specification”。

在Unity选择【Edit】——【Project Settings】——【Player】——【Other Settings】——【Configuration】大项下的【Scripting Runtime Version】选项选择【.NET 4.x Equivalent】即可解决问题。

Unity "Feature 'out variable declaration' cannot be used because it is not part of the C# 4.0"

原文:https://www.cnblogs.com/yxfcnbg/p/11433530.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!