新增 FlowScope Git 包雏形
This commit is contained in:
29
Packages/com.flowscope.gamecore/README.md
Normal file
29
Packages/com.flowscope.gamecore/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# FlowScope Game Core
|
||||
|
||||
FlowScope Game Core is a lightweight Unity runtime foundation for feature flow, dependency registration, resources, config, save, audio, and UGUI panel management.
|
||||
|
||||
This package is currently a P2 preview package. Runtime, Addressables, and Editor sources are mirrored from the project-internal `Assets/FlowScope` implementation so a consuming Unity project can validate Git-based package installation.
|
||||
|
||||
## Install From Git
|
||||
|
||||
Add the package to the consuming project's `Packages/manifest.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"dependencies": {
|
||||
"com.cysharp.r3": "https://github.com/Cysharp/R3.git?path=src/R3.Unity/Assets/R3.Unity#1.3.0",
|
||||
"com.flowscope.gamecore": "ssh://git@192.168.9.108:2222/Developer/BombGameFramework.git?path=/Packages/com.flowscope.gamecore#codex/pre-p2-architecture-fixes"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`com.cysharp.r3` must be declared by the consuming project because Unity Package Manager does not support Git dependencies inside a package's `package.json`.
|
||||
|
||||
## Assembly Boundaries
|
||||
|
||||
- `FlowScope.Runtime` references `R3.Unity`.
|
||||
- `FlowScope.Addressables` references `FlowScope.Runtime`, `Unity.Addressables`, and `Unity.ResourceManager`.
|
||||
- `FlowScope.Editor` is Editor-only and only provides read-only diagnostics.
|
||||
|
||||
Runtime must not depend on Addressables, Editor, Samples, or Tests.
|
||||
|
||||
Reference in New Issue
Block a user