Files
AIGame/.cursor/rules/aigame-basics.mdc
T
udxandCursor b7a0bbcb89 Add hot-update boot pipeline, UI bundles/atlas assets, and design docs.
Ignore AIClient/Library and AIClient/HybridCLRData permanently; include HybridCLR/YooAsset project setup and UI tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 16:02:58 +08:00

28 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: AIGame 项目基础规则(资源登记、UI 自动生成等必须遵守)
alwaysApply: true
---
# AIGame 项目说明
## 基础规则
1. **资源登记(必须)**:所有资源生成完成后,必须按类型追加到对应描述文件,并写明简要说明(用途、路径、生成方式等)。未登记视为流程未完成。
- 索引:`Doc/ResDesc.md`
- model → `Doc/ResDesc_Model.md`
- animation → `Doc/ResDesc_Animation.md`
- picture → `Doc/ResDesc_Picture.md`
- sound → `Doc/ResDesc_Sound.md`
- effect → `Doc/ResDesc_Effect.md`
2. **UI 自动生成(必须)**:业务面板使用 JSON→Prefab 管线,不要用运行时临时代码拼业务 UI 替代 Prefab。
- 总览:`Doc/UI_AutoGen_Overview.md`
- 提示词契约:`Doc/Rule/UIGenerationPrompt.md`
- 规则详解:`Doc/Rule/UIGenerationRules.md`
- 工程约定:`Doc/Rule/UnityUIProject.md`
- JSON:`Doc/UIPrefabCreater/{UIName}.json`
- Prefab:`Assets/Bundles/UI/Prefab/{UIName}.prefab`
- 通用贴图:`Assets/Bundles/UI/Texture/Common/`
- 设计分辨率:竖屏 **`[1080, 1920]`**(不要用参考项目的 2048×1024)
- Unity 菜单:`Tools/UI/...`;转换器:`AIClient/Assets/Editor/UI/`