12 2015 档案

摘要:使用 unity 做游戏开发时,有时需要在scroll view下使用粒子,但粒子是不会被 UIPanel 所裁剪的,本人提供了脚本 ParticleSystemClipper,用来处理这种情况。思路是,通过 UIPanel 的 finalClipRegion 换算成 unity3d 世界坐标系中的 阅读全文
posted @ 2015-12-25 11:55 孤独の巡礼 阅读(5386) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.csdn.net/azhou_hui/article/details/50790870 1. 本地推送主要包括在android和ios上,下面所有的代码都是本人写的,经过测试是没有问题的,已经运用到项目中了。首先是接口INotification: using Syste 阅读全文
posted @ 2015-12-07 11:14 孤独の巡礼 阅读(4130) 评论(2) 推荐(1) 编辑
摘要:1. 时间戳转 DateTime static DateTime GetServerNow(ulong serverTime) { DateTime dateTimeStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTim... 阅读全文
posted @ 2015-12-07 11:01 孤独の巡礼 阅读(770) 评论(0) 推荐(0) 编辑
摘要:项目的配置文件为了和服务器保持一致,每次打包时都从网上下载配置文件,由于下载的是zip压缩包,还需要解压,代码如下: 转载请注明出处:http://www.cnblogs.com/jietian331/p/5019492.html 阅读全文
posted @ 2015-12-04 15:44 孤独の巡礼 阅读(2080) 评论(0) 推荐(0) 编辑