- 博客(5)
- 收藏
- 关注
原创 Slua里面的内容理解
LuaStatepublic object start(string main) { if (main != null) { luaState.doFile(main); LuaFunction func = (LuaFunction)luaState["main"];
2017-06-09 10:32:01
970
原创 Unity的常用工具类
FileUtils 文件工具 记录两个路径可读路径:streamingAssetsPath = Application.streamingAssetsPath;读写路径:persistentDataPath = Application.persistentDataPath;第一个是MD5码 获取某个文件夹的MD5码 比较MD5码,看是否一致第二个是获取AssetBundle路径文件的加载方
2017-06-08 17:31:19
1973
原创 微信的支付流程
暂时写那么多:之后再补充,谢谢 用户(发起支付的手段)(把商品的id发送过去)——商户服务器根据App的请求——生成对应的订单信息——请求微信的服务器——返回预订单信息——商户服务器 ——生成订单信息——APP(用户看到订单信息)——确认付款——转到微信API接入过程分为 1.libs包的导入:libammsdk.jar初始化微信的支付组件:api = WXAPIFactory.createW
2017-06-07 11:15:50
404
原创 游戏版本的在线更新(我的热更新之路)
现在正在研究过程中 流程: 在线联网检查当前版本和最新版本的区别(Refresh在哪里调用)AssetsMgr事件的回调 void onProgress(double progress, string url, string customId, Downloader loader); void onDownladed(string srcUrl, string storagePath, str
2017-06-07 10:57:18
1328
原创 整个麻将的运行流程
GameManager——Facade——去初始化controller model view 同时注册StartUp 的Command 这个Command包含了所有的Mediator,proxy,Command的注册的行为。通过(lua)main—— App.StartUp来把StartUp的command执行起来luaManager_main_App_notice_facade_View_Noti
2017-06-05 10:31:08
1835
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人