上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 26 下一页
摘要: 回到 Animator深入系列总目录 Unity5对状态哈希做了改进,拆分成了fullPathHash和shortNameHash 测试结果: fullPathHash支持嵌套子状态以及层,shortNameHash直接不支持路径 这是使用的测试状态机,一共三种状态 测试脚本: public cla 阅读全文
posted @ 2016-02-16 09:28 HONT 阅读(3114) 评论(0) 推荐(0) 编辑
摘要: 1.Linear 2.BackIn 3.BackInOut 4.BackOut 5.BounceIn 6.BounceInOut 7.BounceOut 8.CircIn 9.CircInOut 10.CircOut 11.CubicIn 12.CubicInOut 13.CubicOut 14.E 阅读全文
posted @ 2016-02-13 23:33 HONT 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 在根运动打开时,施加AddForce,速率在后面几帧被清0了: 没有打开根运动AddForce的情况: unity论坛看了下,似乎有人遇到这个问题,而且无解。只能受力状态下关闭根运动 Q:Im working on a new title right now and I wanted to try 阅读全文
posted @ 2016-02-11 21:57 HONT 阅读(721) 评论(0) 推荐(0) 编辑
摘要: Lerp更像是线性衰减,而SmoothDamp像是弧形衰减,两者都是由快而慢 其中SmoothDamp多用于相机跟随。 SmoothDamp: transform.position = Vector3.SmoothDamp(transform.position, target.position, r 阅读全文
posted @ 2016-02-11 20:14 HONT 阅读(1703) 评论(0) 推荐(1) 编辑
摘要: 可见是Collider的Bounds 阅读全文
posted @ 2016-02-11 19:22 HONT 阅读(992) 评论(0) 推荐(0) 编辑
摘要: 索尼的一种游戏音频格式,通过vgmstream工具可以提取 工具已经下载好:(包含dll包) http://files.cnblogs.com/files/hont/vgmstream-r1040-test%28Repackage%29.rar 使用方式: test -o happy.wav hap 阅读全文
posted @ 2016-02-10 15:24 HONT 阅读(524) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-02-09 18:38 HONT 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 更详细的请看这篇博文:http://www.cnblogs.com/jingmoxukong/p/4308823.html 归并排序(Merge Sort),基于分治法的排序,比较简单。 个人感觉其核心1是数组左右拆分之后类似队列的比较,核心2是利用for循环不断增加间隔数 类似两两合并之类的算法都 阅读全文
posted @ 2016-02-08 20:45 HONT 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 近期将之前的跑酷游戏demo拿出来重新做了一遍,解决了之前2个遗留bug。 虽然罪魁祸首都是FixedUpdate,但细节又不太一样。这里记录一下 1.点击空格键,角色会跳跃。而有时会跳的比之前高很多(使用Rigidbody.AddForce) 解决: AddForce之前应该清一下速率,因为是射线 阅读全文
posted @ 2016-02-07 19:56 HONT 阅读(4107) 评论(0) 推荐(0) 编辑
摘要: 出处:http://answers.unity3d.com/questions/578393/clear-console-through-code-in-development-build.html Debug.ClearDeveloperConsole()也可以用,但稍麻烦些。 阅读全文
posted @ 2016-02-07 19:06 HONT 阅读(1873) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 26 下一页