Add prototype gameplay loop with character/battlefield assets and server game APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
- `referenceResolution`: `[1080, 1920]`
|
||||
- 文字:仅 TextMeshPro,默认字体 `Assets/Bundles/UI/Font/siyuan_CN_Bold SDF.asset`(由 `siyuan_CN_Bold.otf` 生成,动态图集);浅色字描边/阴影非纯黑。
|
||||
- 九宫格:`imageType: Sliced`
|
||||
- 标准控件底图必须九宫格:`imageType: Sliced` + Sprite 有效非零 `Border` + `Full Rect`;按钮状态图同样设置。Common 导入规则:`UiSpriteNineSliceRules.cs`;修复菜单:`Tools/UI/Apply Standard Control Nine-Slice`。
|
||||
- 按钮:SpriteSwap 优先
|
||||
- `MonoBehaviour.typeName` 指向 HotUpdate 类型
|
||||
|
||||
@@ -48,6 +48,13 @@
|
||||
- **一律异步**(YooAsset);禁止新写同步加载热更资源。
|
||||
- Prefab/贴图路径建议带 `Assets/Bundles/...`。
|
||||
|
||||
## UI 风格
|
||||
|
||||
- 当前仅使用 Candy 糖果风;Studio / Mint 主题与停用的切换入口已删除。
|
||||
- `BootSettings.UiTheme` / 远程 `version.json.uiTheme` 保留用于旧配置兼容,其他值回退 Candy。
|
||||
- 业务按逻辑名异步打开:`UiManager.OpenAsync`。
|
||||
- UI Prefab 收集进 Art/UI,图片与字体作为依赖进入资源包。
|
||||
|
||||
## 与图集方案关系
|
||||
|
||||
- 现阶段允许 Common 下单图 Sprite 直接被 Prefab 引用。
|
||||
|
||||
Reference in New Issue
Block a user