整理 Addressables 测试资源路径
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 20098efc5dc925a4194600eea4969d68
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
真实 Addressables 测试资源:
|
真实 Addressables 测试资源:
|
||||||
|
|
||||||
- 路径:`Assets/FlowScope/Tests/PlayMode/Resources_moved/Fixtures/Addressables/FlowScopeAddressablesText.txt`
|
- 路径:`Assets/FlowScope/Tests/PlayMode/Resources/Fixtures/Addressables/FlowScopeAddressablesText.txt`
|
||||||
- 内容:`FlowScope Addressables Acceptance`
|
- 内容:`FlowScope Addressables Acceptance`
|
||||||
- GUID:`7e04733ce9dab74459592d3bd99fcafd`
|
- GUID:`7e04733ce9dab74459592d3bd99fcafd`
|
||||||
- Addressables group:`Default Local Group`
|
- Addressables group:`Default Local Group`
|
||||||
@@ -68,7 +68,7 @@ m_Address: FlowScope.Tests.Addressables.Text
|
|||||||
|
|
||||||
## 剩余注意事项
|
## 剩余注意事项
|
||||||
|
|
||||||
- 当前 Addressables 测试资源位于 `Resources_moved` 路径下;这是本轮真实验收的有效路径,但后续 package 迁移时应统一测试资源目录命名。
|
- 当前 Addressables 测试资源已整理到 `Resources/Fixtures/Addressables` 路径下,为后续 package `Tests~` 迁移去掉临时目录命名。
|
||||||
- `Assets/FlowScope/Tests/PlayMode/Resources/Fixtures` 当前只剩空目录 meta,属于提交前清理候选。
|
- `Assets/FlowScope/Tests/PlayMode/Resources/Fixtures` 当前只剩空目录 meta,属于提交前清理候选。
|
||||||
- 当前验收仍在主项目内完成;P2 后续 package 阶段还需要在干净 Unity 项目中验证本地 package path 或 Git URL 安装。
|
- 当前验收仍在主项目内完成;P2 后续 package 阶段还需要在干净 Unity 项目中验证本地 package path 或 Git URL 安装。
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
剩余缺口:
|
剩余缺口:
|
||||||
|
|
||||||
- 当前 Addressables 测试资源路径为 `Assets/FlowScope/Tests/PlayMode/Resources_moved/Fixtures/Addressables/FlowScopeAddressablesText.txt`,后续 package 迁移时应统一测试资源目录命名。
|
- 当前 Addressables 测试资源路径为 `Assets/FlowScope/Tests/PlayMode/Resources/Fixtures/Addressables/FlowScopeAddressablesText.txt`,早期临时目录命名已在 P2 第二阶段整理。
|
||||||
- `Assets/FlowScope/Tests/PlayMode/Resources/Fixtures` 当前只剩空目录 meta,属于提交前清理候选。
|
- `Assets/FlowScope/Tests/PlayMode/Resources/Fixtures` 当前只剩空目录 meta,属于提交前清理候选。
|
||||||
|
|
||||||
### 4. Editor 最小诊断入口
|
### 4. Editor 最小诊断入口
|
||||||
@@ -165,7 +165,7 @@ git diff --check
|
|||||||
1. 尚未创建正式 package 根目录和 `package.json` 文件。
|
1. 尚未创建正式 package 根目录和 `package.json` 文件。
|
||||||
2. 尚未在干净 Unity 项目中验证本地 package path 或 Git URL 安装。
|
2. 尚未在干净 Unity 项目中验证本地 package path 或 Git URL 安装。
|
||||||
3. 尚未实际打开 `Tools/FlowScope/Diagnostics` 做人工 UI 检查。
|
3. 尚未实际打开 `Tools/FlowScope/Diagnostics` 做人工 UI 检查。
|
||||||
4. Addressables 测试资源目录命名仍需在 package 迁移前统一。
|
4. Addressables 测试资源目录命名已统一到 `Resources/Fixtures/Addressables`,后续仍需决定是否随 Tests 迁移到 package `Tests~`。
|
||||||
|
|
||||||
## 下一阶段建议
|
## 下一阶段建议
|
||||||
|
|
||||||
@@ -176,5 +176,5 @@ git diff --check
|
|||||||
1. 创建 `Packages/com.flowscope.gamecore` 和最小 `package.json`。
|
1. 创建 `Packages/com.flowscope.gamecore` 和最小 `package.json`。
|
||||||
2. 先复制或镜像 Runtime 到 package 目录,不删除 `Assets/FlowScope`。
|
2. 先复制或镜像 Runtime 到 package 目录,不删除 `Assets/FlowScope`。
|
||||||
3. 在当前项目和一个干净 Unity 项目中验证本地 package path。
|
3. 在当前项目和一个干净 Unity 项目中验证本地 package path。
|
||||||
4. 整理 Addressables 测试资源目录,再迁移 package 内 Tests。
|
4. 基于已整理的 Addressables fixture 路径,迁移或镜像 package 内 Tests。
|
||||||
5. 再考虑 `Samples~/MainMenuP0` 和 Tests 的分批迁移。
|
5. 再考虑 `Samples~/MainMenuP0` 和 Tests 的分批迁移。
|
||||||
|
|||||||
@@ -55,5 +55,5 @@
|
|||||||
1. 当前 preview tag 已可被消费方解析,但 tag 内 package 文档仍是打 tag 当时的快照。后续如果要让 package 内文档也随 tag 发布,应在文档修正后创建下一个 preview tag。
|
1. 当前 preview tag 已可被消费方解析,但 tag 内 package 文档仍是打 tag 当时的快照。后续如果要让 package 内文档也随 tag 发布,应在文档修正后创建下一个 preview tag。
|
||||||
2. 已在后续切片镜像 `Samples~/MainMenuP0`,但尚未在消费方导入 package sample 做人工验收。
|
2. 已在后续切片镜像 `Samples~/MainMenuP0`,但尚未在消费方导入 package sample 做人工验收。
|
||||||
3. 还没有迁移 package 内 `Tests`。
|
3. 还没有迁移 package 内 `Tests`。
|
||||||
4. Addressables 测试资源仍位于主项目测试目录,后续迁移 Tests 前需要统一 fixture 路径。
|
4. Addressables 测试资源已统一到主项目测试目录的 `Resources/Fixtures/Addressables`,后续迁移 Tests 前需要决定是否镜像到 package `Tests~`。
|
||||||
5. 仍需在一个真正空白 Unity 项目中重复 Git package 接入;FishingFrenzy 是真实消费方,但不是空白项目。
|
5. 仍需在一个真正空白 Unity 项目中重复 Git package 接入;FishingFrenzy 是真实消费方,但不是空白项目。
|
||||||
|
|||||||
Reference in New Issue
Block a user