Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
- 标准控件底图必须九宫格:`imageType: Sliced` + Sprite 有效非零 `Border` + `Full Rect`;按钮状态图同样设置。Common 导入规则:`UiSpriteNineSliceRules.cs`;修复菜单:`Tools/UI/Apply Standard Control Nine-Slice`。
|
||||
- 按钮:SpriteSwap 优先
|
||||
- `MonoBehaviour.typeName` 指向 HotUpdate 类型
|
||||
- 安全区等通用基础组件可指向 AOT 类型;主界面顶部布局使用 `AOT.UI.UiSafeArea`,业务按钮避开摄像头与微信胶囊,背景保持全屏。
|
||||
- 转换器遵循 `assets.sprites` 显式路径;`RawImage.material` 为序列化材质引用,禁止仅依赖 Shader.Find 保留业务预览 Shader。
|
||||
|
||||
## 资源加载
|
||||
|
||||
@@ -53,12 +55,12 @@
|
||||
- 当前仅使用 Candy 糖果风;Studio / Mint 主题与停用的切换入口已删除。
|
||||
- `BootSettings.UiTheme` / 远程 `version.json.uiTheme` 保留用于旧配置兼容,其他值回退 Candy。
|
||||
- 业务按逻辑名异步打开:`UiManager.OpenAsync`。
|
||||
- UI Prefab 收集进 Art/UI,图片与字体作为依赖进入资源包。
|
||||
- UI Prefab 与自动图集收集进 Art/UI,图片跟所属图集同包,字体作为 Prefab 依赖进入资源包。
|
||||
|
||||
## 与图集方案关系
|
||||
|
||||
- 现阶段允许 Common 下单图 Sprite 直接被 Prefab 引用。
|
||||
- 目录级自动 SpriteAtlas / 打包绑定见 `Doc/UI_Atlas_Pipeline.md`(后续里程碑)。
|
||||
- Prefab 继续直接引用单图 Sprite,JSON 路径与九宫格 Border 保持不变。
|
||||
- 目录级自动 SpriteAtlas、YooAsset 同包及运行时异步绑定见 `Doc/UI_Atlas_Pipeline.md`。
|
||||
|
||||
## Agent 边界
|
||||
|
||||
|
||||
Reference in New Issue
Block a user