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】即可解决问题。

相关文章:

  • 2021-09-25
  • 2021-09-07
  • 2021-12-29
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-05-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
相关资源
相似解决方案