-
- 使用优化规则以空间换时间所做的 UI 框架.
-
- QQ 群内部有一大波资料: 861960832
-
- 开箱即用,Lua 或者 C# 及其方便,以 tolua 框架为底制作,移植及其方便.
-
- 支持 2019.4 以及 2020 版
-
-
先将设置 UI 环境,在 Project Settings的 Editor 选项中,将 Editing Environments 中的 UIEnvironment 设置为 UIEditorScene.
Sprite Packer 选择 Sprite Atlas V2即可.
添加 Layer --> NoGraphics.添加 GM 的 Tag 选项.
在 Package Manager 中添加 2D Sprite 插件
-
-
- 没有 AB 加载模块,借助 toLua 框架,所有的 UI 都从 Resources 文件夹下模拟加载,如有需求,请自行编写.
-
- 如有自己完整的项目,请直接将 Assets/Lua 文件夹下的文件拷贝到自己的项目中.
-
- UIKit 中的 UIManager 是管理器, UIPoolManager 是缓存器.Lua 采用 MVC 的模式进行编写.
-
- 使用时请将 lua 路径设置正确.
-
- Analyze 是比较详尽的优化分析.
-
- UITableView 是滚动视图,Events 中是事件快捷方式,DymincSpriteAtlas 是动态图集
-
- 如果想要特殊效果,请参考 https://github.com/mob-sakai 此人仓库.
-
- 自动化编写 Lua 代码,以 MVC 模式生成 3 个脚本, 在 prefab 上面右键 UI/模块/2. 模板-->MVC-->Lua,即可生成,此生成是在没有 lua 脚本时的生成,如果有存在 lua 脚本不会生成.
-
- 感谢支持