transform.RotateAround(o.transform.position,Vector3.up,20*Time.deltaTime);transform.Rotate(Vector3.up, 20*Time.deltaTime, Space.World); RotateAround() ...
分类:
编程语言 时间:
2018-08-05 23:27:09
阅读次数:
3172
1,Transform旋转 1,Transform旋转 transform.Rotate(X, Y, Z);//分别绕X,Y,Z轴旋转,可写为绕某个轴旋转,栗子transform.Rotate(0, 90, 0); transform.Rotate(Vector3.right * Time.delt ...
分类:
编程语言 时间:
2018-08-04 16:41:42
阅读次数:
245
# 模块,导包,引用# importprint("import ...-----------")import time#print(help(time))print(time.ctime())# from ... import ...print("from ... import ...-------... ...
分类:
编程语言 时间:
2018-07-31 21:49:11
阅读次数:
139
find: [PATH] [option] [action] 1.与时间有关的, -atime, -ctime, -mtime -mtime n : n为天数,为n天之前的一天内被更改过内容的文件 -mtime +n: 列出n天之前(不含n天本身) -mtime -n: 列出n天之内(含n天本身) ... ...
分类:
系统相关 时间:
2018-07-30 13:26:10
阅读次数:
180
Threading 模块 threading 模块除了提供基本的线程和锁定支持外,还提供了更高级别、功能更全面的线程管理。threading 模块支持守护线程,其工作方式是:守护线程一般是一个等待客户端请求的服务器,如果没有客户端请求,守护线程就是空闲的。如果把一个线程设置为守护线程,就表示这个线程 ...
分类:
编程语言 时间:
2018-07-29 23:29:19
阅读次数:
221
A. Coins Alice and Bob are playing a simple game. They line up a row of nnn identical coins, all with the heads facing down onto the table and the tai ...
分类:
其他好文 时间:
2018-07-29 20:05:44
阅读次数:
289
import time # time库是Python中处理时间的标准库 # 提供获取系统时间并格式化输出功能 # 提供系统级精确计时功能,用于程序性能分析 time.time() # 获取当前时间戳,即计算机内部时间值,浮点数 time.ctime() # 获取当前时间并以易读方式表示,返回字符串 ... ...
分类:
其他好文 时间:
2018-07-27 13:19:00
阅读次数:
174
touch命令有两个功能: 1.用于把已存在文件的时间标签更新为系统当前的时间(默认方式),它们的数据将原封不动地保留下来; 2.用来创建新的空文件。 语法 选项 参数 举例如下 1.创建不存在的文件 touch a.txt 如果要连续创建多个空文件可用空格隔开,比如:touch a.txt b.t ...
分类:
系统相关 时间:
2018-07-26 13:17:34
阅读次数:
5369
ls是Linux最常用的基础命令ls就是list的缩写,ls不仅仅可以查看文件夹内容还可以查看(目录,权限)等.....ls用法如下:1.命令格式:ls[参数][目录名字]2.命令功能:列出目录中所有子目录和文件3.常用参数:-a,–all列出目录下的所有文件,包括以.开头的隐含文件-A同-a,但不列出“.”(表示当前目录)和“..”(表示当前目录的父目录)。-c配合-lt:根据ctime排序及显
分类:
系统相关 时间:
2018-07-24 11:18:04
阅读次数:
152
{{item.ctime | timeFormat('yyyy-MM-dd')}} //pattern = "" 形参的默认值,如果传过来的是undefined则为空 Vue.filter('timeFormat',function(timestr,pattern = ""){ var date =... ...
分类:
Web程序 时间:
2018-07-24 11:17:23
阅读次数:
248