Unity VS inconsistent line endings(record)

WARN:

      There are inconsistent line endings in the 'Assets/Editor/Script_03_08.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.

网上查了一下都是Windows开发环境的解决方法,还没找到Mac的,记录一下问题,之后再解决。

一个绕过去的解决方法:

     不在Unity,而是在VS中创建新的脚本。

猜你喜欢

转载自blog.csdn.net/dyy970319/article/details/84873417
今日推荐