行尾不一致(inconsistent line endings ) 开发环境 有时候编辑Unity的脚本文件,代码diff之后,或者从svn更新文件之后,Unity中会出现行尾不一致的信息. 我的开发环境如下: visual studio 2015,unity3d 5.x,beyond compare 4,notepad++ 6.x windows 7/10 行尾不一致 当Unity在编译时,如果脚本的行尾不一致,会出现以下提示信息: There are inconsistent line en
__author__ = 'metasequoia' # -*- coding: utf-8 -*- import fileinput def Count(): count_num = 0 for line in fileinput.input('E:\\Python\\Spider\MyCreepy.py'): num = fileinput.lineno() if not line.isspace(): count_num +=1 return (num,count_num) if __na
Scripted AI and Scripting Engines 脚本AI与脚本引擎 This chapter discusses some of the techniques you can use to apply a scripting system to the problem of game AI, and the benefits you can reap from doing this. At its most basic level, you can think of scri
ASCII https://zh.wikipedia.org/wiki/ASCII American Standard Code for Information Interchange,美国信息交换标准代码 33个控制字符和95个可见字符 控制字符 说明: Unicode表示法:当我们想在画面或纸张上表示这些控制字符时,就会显示成这个样子.过于老旧的系统或浏览器可能会看不到.使用微软任一中文输入法,输入U2400即可看到␀,输入U2401可看到␁,依此类推. 脱出字符表示法:通常用于终端机连接(