随笔分类 -  Unity

摘要:http://dragonbones.github.io/getting_started_cn.htmlhttp://www.gameres.com/forum.php?mod=viewthread&tid=251093公司新项目,打算用Spine来做动画。有用Spine做项目的朋友吗?一起来交流下... 阅读全文
posted @ 2014-06-04 12:14 ing... 阅读(324) 评论(0) 推荐(0)
摘要:using UnityEditor;using UnityEngine;using System.IO;using System.Collections;using System.Collections.Generic;public class MyTools{ [MenuItem("MyTo... 阅读全文
posted @ 2014-06-04 11:54 ing... 阅读(341) 评论(0) 推荐(0)
摘要:原地址:http://tieba.baidu.com/p/2805548059?qq-pf-to=pcqq.c2c跑酷的小demo,跑动过程中,很明显的发现离摄像头越远就越模糊。这个是运行时候的截图:打上红圈看看1到3越来越模糊,在两个小正方体的圈圈里面明显看到有一个稳定的清晰度过渡的分界线。神庙逃... 阅读全文
posted @ 2014-06-03 10:25 ing... 阅读(441) 评论(0) 推荐(0)
摘要:Texturesbring yourMeshes,Particles, and interfaces to life! They are image or movie files that you lay over or wrap around your objects. As they are s... 阅读全文
posted @ 2014-05-30 23:41 ing... 阅读(575) 评论(0) 推荐(0)
摘要:3d模型质量显示设置 阅读全文
posted @ 2014-05-28 10:30 ing... 阅读(170) 评论(0) 推荐(0)
摘要:Application.CaptureScreenshot("Screenshot.png");截屏后的文件所在路径:Application.persistentDataPath 阅读全文
posted @ 2014-05-03 12:43 ing... 阅读(225) 评论(0) 推荐(0)
摘要:#if UNITY_EDITORstring filepath = Application.dataPath + "/StreamingAssets";#elif UNITY_IPHONEstring filepath = Application.dataPath +"/Raw";#elif UNI... 阅读全文
posted @ 2014-05-03 12:42 ing... 阅读(1421) 评论(0) 推荐(0)
摘要:FPSDisplay.csusing UnityEngine;using System.Collections; public class FPSDisplay : MonoBehaviour{ float deltaTime = 0.0f; void Update() { ... 阅读全文
posted @ 2014-05-03 10:22 ing... 阅读(1762) 评论(0) 推荐(0)
摘要:原地址:http://sygame.lofter.com/post/117105_791680在unity游戏开发中,可能会遇到在游戏中截屏的效果。这儿提供两种截屏方法。(方法二提供显示截图缩略图代码)方法一:在unity的API中,unity给我们提供了一个现成的API : Application... 阅读全文
posted @ 2014-05-02 15:15 ing... 阅读(497) 评论(0) 推荐(0)
摘要:http://sharesdk.cn/ 阅读全文
posted @ 2014-05-02 12:43 ing... 阅读(169) 评论(0) 推荐(0)