摘要:
首先了解下时间戳 //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分 阅读全文
摘要:
给方法打自定义标签再反射获取 1.自定义特性类 2.获取 【给类打上标签】获得相对于打上标签的类 【打标签的类】 简写 阅读全文
摘要:
http://gad.qq.com/article/detail/24048 重磅推荐: Github 热门 Unity Assets 查询:http://unitylist.com/browse 最好的publicGitHub存储库列表: · 图片特效收藏 - https://github.com 阅读全文
摘要:
参考 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 根 阅读全文
摘要:
转载:https://indienova.com/indie-game-development/how-to-remove-goal-oriented-design-in-guidance/ 写的很棒! 阅读全文
摘要:
base.xxx() 调用父类的方法 阅读全文
摘要:
public class Main : MonoBehaviour { public Texture2D cursorTexture;//图片 public CursorMode cursorMode = CursorMode.Auto; public Vector2 hotSpot = Vector2.zero;//以左上角为目标的偏移量 void Star... 阅读全文
摘要:
我用在了事件注册上面,再也不用一个一个去写了 下面直接上代码 阅读全文
摘要:
unity5提供了协程,不过用起来很蛋疼,当然如果是unity2017 你就可以用async await了 提供一个TaskManager来封装协程(github https://github.com/krockot/Unity-TaskManager) 1.TaskManager 2.使用说明 阅读全文
摘要:
查看官网api,使用c++写的,转成c#之后,有个问题就是,图片显示问题 我们可以获取到一个含有图片信息的byte[] 然后 一个开源的unity+steam联机方案 https://zhuanlan.zhihu.com/p/33601024 【steam用户验证】 https://api.stea 阅读全文