导航

 
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页

2019年1月31日

摘要: 一:函数装饰函数 def wrapFun(func): def inner(a, b): print('function name:', func.__name__) r = func(a, b) return r return inner @wrapFun def myadd(a, b): ret 阅读全文
posted @ 2019-01-31 17:22 slqt 阅读(173) 评论(0) 推荐(0) 编辑
 
摘要: 来自https://blog.csdn.net/qq_14903317/article/details/69668521 自由绘制多边形 https://blog.csdn.net/lei_7103/article/details/54022496 来自https://blog.csdn.net/q 阅读全文
posted @ 2019-01-31 16:22 slqt 阅读(815) 评论(0) 推荐(0) 编辑
 
摘要: 来自https://www.cnblogs.com/JLZT1223/p/6086191.html 1、 总的来说绘制平面的思想十分简单,就是将需要的平面拆分成几个三角形然后进行绘制就可以啦,主要的思路就在于三角形的拆分。如果说一个平面有7个顶点,我们把它们分别编号0到6,拆分情况如图所示: 即:如 阅读全文
posted @ 2019-01-31 16:19 slqt 阅读(2391) 评论(0) 推荐(0) 编辑
 
摘要: 来自https://www.cnblogs.com/jiuxuan/p/7453762.html 1、创建两个Image,修改第一个Image名称为 Background,把第二个Image放入 Background 下 结构如下: 2、Background 的图片设置为 Back_04,把 Bac 阅读全文
posted @ 2019-01-31 14:20 slqt 阅读(571) 评论(0) 推荐(0) 编辑
 
摘要: 01、基本碰撞检测代码 01、基本碰撞检测代码 function OnCollisionEnter(theCollision : Collision){ if(theCollision.gameObject.name == "Floor"){ Debug.Log("Hit the floor"); 阅读全文
posted @ 2019-01-31 11:41 slqt 阅读(574) 评论(0) 推荐(0) 编辑
 

2019年1月30日

摘要: debug代码 Debug.Log("普通信息"); Debug.LogWarning("警告信息"); Debug.LogError("错误信息"); U3D_5.0_train 看到3_5 阅读全文
posted @ 2019-01-30 22:17 slqt 阅读(139) 评论(0) 推荐(0) 编辑
 

2019年1月28日

摘要: 阅读全文
posted @ 2019-01-28 09:23 slqt 阅读(306) 评论(0) 推荐(0) 编辑
 

2019年1月24日

摘要: 1.脚本有误没有继承unity类。 2.类名文件名不一致。 3.内部逻辑代码有误。 1.脚本有误没有继承unity类。 2.类名文件名不一致。 3.内部逻辑代码有误。 1.脚本有误没有继承unity类。 2.类名文件名不一致。 3.内部逻辑代码有误。 阅读全文
posted @ 2019-01-24 21:38 slqt 阅读(1731) 评论(0) 推荐(0) 编辑
 

2019年1月9日

摘要: 下载node.js安装https://nodejs.org/en/ npm install -g cnpm --registry=https://registry.npm.taobao.org npm install vue-cli -g 初始化: vue init webpack vue-demo 阅读全文
posted @ 2019-01-09 17:44 slqt 阅读(239) 评论(0) 推荐(0) 编辑
 

2019年1月8日

摘要: 方案: nginx + uWSGI 提高 Django的并发性 1. uWSGI : uWSGI是一个web服务器,实现了WSGI协议、uwsgi协议、http协议等。 uWSGI的主要特点是: 超快的性能 低内存占用 多app管理 详尽的日志功能(可以用来分析app的性能和瓶颈) 高度可定制(内存 阅读全文
posted @ 2019-01-08 17:39 slqt 阅读(4412) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页