上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 43 下一页
摘要: 首先了解下时间戳 //JavaScript时间戳:是指格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总毫秒数。 //Unix时间戳:是指格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分 阅读全文
posted @ 2018-05-09 21:16 三页菌 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 给方法打自定义标签再反射获取 1.自定义特性类 2.获取 【给类打上标签】获得相对于打上标签的类 【打标签的类】 简写 阅读全文
posted @ 2018-05-02 17:29 三页菌 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: http://gad.qq.com/article/detail/24048 重磅推荐: Github 热门 Unity Assets 查询:http://unitylist.com/browse 最好的publicGitHub存储库列表: · 图片特效收藏 - https://github.com 阅读全文
posted @ 2018-04-29 14:58 三页菌 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 参考 yusong:http://www.xuanyusong.com/archives/2477 凉鞋 :https://www.cnblogs.com/liangxiegame/p/Unity-you-xi-kuang-jia-da-jian-ba-jian-shao-jia-ba.html 根 阅读全文
posted @ 2018-04-29 14:28 三页菌 阅读(1154) 评论(0) 推荐(0) 编辑
摘要: 转载:https://indienova.com/indie-game-development/how-to-remove-goal-oriented-design-in-guidance/ 写的很棒! 阅读全文
posted @ 2018-04-26 17:04 三页菌 阅读(96) 评论(0) 推荐(0) 编辑
摘要: base.xxx() 调用父类的方法 阅读全文
posted @ 2018-04-20 09:55 三页菌 阅读(171) 评论(0) 推荐(0) 编辑
摘要: public class Main : MonoBehaviour { public Texture2D cursorTexture;//图片 public CursorMode cursorMode = CursorMode.Auto; public Vector2 hotSpot = Vector2.zero;//以左上角为目标的偏移量 void Star... 阅读全文
posted @ 2018-04-14 16:04 三页菌 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 我用在了事件注册上面,再也不用一个一个去写了 下面直接上代码 阅读全文
posted @ 2018-04-12 20:12 三页菌 阅读(434) 评论(0) 推荐(0) 编辑
摘要: unity5提供了协程,不过用起来很蛋疼,当然如果是unity2017 你就可以用async await了 提供一个TaskManager来封装协程(github https://github.com/krockot/Unity-TaskManager) 1.TaskManager 2.使用说明 阅读全文
posted @ 2018-04-08 11:07 三页菌 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 查看官网api,使用c++写的,转成c#之后,有个问题就是,图片显示问题 我们可以获取到一个含有图片信息的byte[] 然后 一个开源的unity+steam联机方案 https://zhuanlan.zhihu.com/p/33601024 【steam用户验证】 https://api.stea 阅读全文
posted @ 2018-03-28 16:42 三页菌 阅读(4134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 43 下一页