社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
莫名其妙的某一天,用VS编写的C#脚本在Unity下都会有这么一条提醒:
There are inconsistent line endings in the 'Assets/Scripts/RandomRotate.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.
在用VS2015的时候可以在文件→文件高级保存选项中
但是在VS2017中,这个功能不见了,按下面方法就可以给弄出来了
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!