今天在Windows上做Unity3D开发,遇到几次了在UnIty里面提示这个There are inconsistent line endings in the Assets/Scripts/En

There are inconsistent line endings in the ‘Assets/Scripts/EnermyAI.cs’ script. Some are Mac OS X…

解决办法:文件→高级保存选项把行尾改成Windows(CRLF)
也不知道怎么回事 可能是今天更新了VS 之前的设置又不行了不过这个办法还是可以解决

猜你喜欢

转载自blog.csdn.net/bellainvan/article/details/106735345