2020年12月2日
摘要: 打包代码: [MenuItem("AssetBundle/PC")] public static void AssetBundleByPc () { string path = Application.dataPath + "/AssetBundle/PC"; if (!Directory.Exis 阅读全文
posted @ 2020-12-02 00:06 LuChuangwu 阅读(67) 评论(0) 推荐(0)
  2020年9月13日
摘要: using UnityEngine; using System.Collections; using XLua; using System; using System.Collections.Generic; public class LuaPacke:MonoBehaviour { private 阅读全文
posted @ 2020-09-13 20:51 LuChuangwu 阅读(688) 评论(0) 推荐(0)
  2020年8月10日
摘要: public class ReadData <TDataBase,T>: Singleton<T> where TDataBase:TdataBse,new () where T:new (){ public Dictionary<int, TDataBase> characterCatch = n 阅读全文
posted @ 2020-08-10 22:26 LuChuangwu 阅读(254) 评论(0) 推荐(0)
  2020年8月7日
摘要: //按钮点击事件的监听 button.node.on('click',this.callBack,this); callBack:function (event) { ///do something here } //键盘监听事件 cc.systemEvent.on(cc.SystemEvent.E 阅读全文
posted @ 2020-08-07 10:32 LuChuangwu 阅读(110) 评论(0) 推荐(0)