07 2016 档案

unity, polygon collider 2D 添加顶点
摘要:正常情况下只要按下了Edit Collider按钮,鼠标停在polygon collider 2D的一条边上,就会出现一个虚拟的新顶点,此时如果按下鼠标,新顶点就创建出来了。 但是我今天遇到一个奇怪的情况就是鼠标放到polygon collider 2D的边上,并不出现虚拟新顶点,点击也不会创建新顶 阅读全文

posted @ 2016-07-31 00:20 wantnon 阅读(2870) 评论(0) 推荐(0) 编辑

unity htc vive, ugui for vr
摘要:http://wacki.me/blog/2016/06/vr-gui-input-module-for-unity-htc-vive/ 阅读全文

posted @ 2016-07-28 20:51 wantnon 阅读(721) 评论(0) 推荐(0) 编辑

unity vr sample on htc vive
摘要:http://forum.unity3d.com/threads/unity-vr-samples-now-available.372753/ 阅读全文

posted @ 2016-07-28 19:52 wantnon 阅读(351) 评论(0) 推荐(0) 编辑

unity, Additive Animtion注意事项
摘要:以下摘自官方文档:(http://docs.unity3d.com/Manual/AnimationScripting.html) Additive animations allow you to overlay the effects of one animation on top of any 阅读全文

posted @ 2016-07-26 12:00 wantnon 阅读(945) 评论(0) 推荐(0) 编辑

mac版photoshop滤镜库报错解法
摘要:http://bbs.pcbeta.com/viewthread-1556878-1-1.html 阅读全文

posted @ 2016-07-23 14:02 wantnon 阅读(289) 评论(0) 推荐(0) 编辑

mov视频转gif
摘要:在mac上用quicktime录屏,得到一个mov视频,想转成gif,试了几个工具,感觉下面这个最好用: http://ezgif.com/video-to-gif 支持重新指定尺寸和帧率,转完gif后还可以选择作进一步压缩。 下面gif是用这个工具生成的: (动画出自《三体:乱纪元大冒险》: ht 阅读全文

posted @ 2016-07-18 00:13 wantnon 阅读(913) 评论(0) 推荐(0) 编辑

unity, eulerAngle
摘要:unity中欧拉角规定如下: A rotation that rotates euler.z degrees around the z axis, euler.x degrees around the x axis, and euler.y degrees around the y axis (in 阅读全文

posted @ 2016-07-14 19:37 wantnon 阅读(437) 评论(0) 推荐(0) 编辑

unity, Animation crossfade需要两动画在时间上确实有交叠
摘要:unity现在播动画都用Animator了,但公司的老项用的还是Animation,今天遇到一个bug,是两个动画的衔接处不连贯。 最后发现是由于A动画已经播完之后B动画才开始播,而且还用了crossfade(0.2)。 正确的用法是在A动画还差0.2秒播完时就用crossfade(0.2)去播动画 阅读全文

posted @ 2016-07-13 22:15 wantnon 阅读(5857) 评论(0) 推荐(0) 编辑

unity,standalone下自定义分辨率不起作用的解法
摘要:参考:http://answers.unity3d.com/questions/516517/why-doesnt-standalone-build-resolution-settings-af.html 阅读全文

posted @ 2016-07-10 18:55 wantnon 阅读(831) 评论(0) 推荐(0) 编辑

c#, 输出二进制
摘要:int x=-17; string str= Convert.ToString(x,2);Debug.Log(str); 输出结果: 11111111111111111111111111101111 另外记住11111111111111111111111111111111(32个1)是-1。在用代码 阅读全文

posted @ 2016-07-08 14:02 wantnon 阅读(1625) 评论(0) 推荐(0) 编辑

unity shader在小米2s上的问题
摘要:一个很简单的用mask裁剪图片的效果: mask: 被裁剪图片: 正确的效果: 在小米2s上测,其中有一台小米2s出现花屏: 手机型号: shader如下: Shader "UI/Transparent Masked"{ Properties { _MainTex ("Base (RGB)", 2D 阅读全文

posted @ 2016-07-05 13:03 wantnon 阅读(850) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示