摘要:
参考链接: http://blog.sina.com.cn/s/blog_6788cd880102wagh.html#commentComment 1.动态加载模型并控制其移动 2. 阅读全文
摘要:
参考链接: http://blog.sina.com.cn/s/blog_6788cd880102wagh.html#commentComment 1.动态加载模型并控制其移动 2. 阅读全文
摘要:
使用框架进行开发,一般分为两个阶段: a.开发阶段 LuaBundleMode:false UpdateMode:false DebugMode:true b.发布阶段 与上面相反 因此,如果要更新资源那么就按发布阶段来设置。这里分析一下请求资源的过程: 首先会向服务器发送请求:AppConst.W 阅读全文
摘要:
参考链接: http://blog.sina.com.cn/s/blog_6788cd880102wbc0.html 1.c#层 LuaComponent.cs 在CustomSettings.cs中添加这个类,并重新生成wrap文件 2.lua层 TestLuaComponent.lua Game 阅读全文
摘要:
先来看下框架是怎么展示一个界面的: lua层的入口是Game.OnInitOK,然后调用PromptCtrl.Awake,加载并创建PromptPanel,给界面挂上LuaBehaviour,在LuaBehaviour中,回调PromptPanel.lua的Awake、Start方法 涉及到的lua 阅读全文
摘要:
参考链接: https://www.cnblogs.com/hearthstone/p/8478530.html https://blog.csdn.net/mango9126/article/details/76482574 下载链接:https://github.com/Unity-Techno 阅读全文
摘要:
1.ExampleMode true表示对例子的资源进行打包并且运行例子 一般设置为false 2.LuaBundleMode true表示对两个lua目录(Assets\LuaFramework\Lua和Assets\LuaFramework\ToLua\Lua)打包;lua文件读取自AB包 fa 阅读全文
摘要:
参考链接: https://blog.csdn.net/lyh916/article/details/45021703 https://blog.csdn.net/lyh916/article/details/52161633 零.常用路径 1.Util.AppContentPath():游戏包资源 阅读全文
摘要:
框架地址: https://github.com/jarjin/LuaFramework_UGUI 1.下载后用unity打开,点击菜单栏LuaFramework/Welcome Screen,会弹出帮助窗口 2.按照帮助窗口所说,点击菜单栏Lua/Clear wrap files,再点击LuaFr 阅读全文
摘要:
参考链接: https://www.jianshu.com/p/b37ee8cea04c 1.AssetBundle.Unload(false):释放AssetBundle文件的内存镜像,但不摧毁从包中Load出来的Asset对象(如下例子2) 2.AssetBundle.Unload(true): 阅读全文
摘要:
参考链接: https://blog.csdn.net/qq_40338728/article/details/87880870 https://docs.unity3d.com/Manual/AssetBundles-Building.html https://docs.unity3d.com/M 阅读全文
|