41 lines
1.8 KiB
Markdown
41 lines
1.8 KiB
Markdown
# 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
|
|
{
|
|
"scopedRegistries": [
|
|
{
|
|
"name": "Unity NuGet",
|
|
"url": "https://unitynuget-registry.openupm.com",
|
|
"scopes": [
|
|
"org.nuget"
|
|
]
|
|
}
|
|
],
|
|
"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@git.zz.com:2222/Developer/FlowScope.git?path=/Packages/com.flowscope.gamecore#v0.2.0-preview.2",
|
|
"org.nuget.r3": "1.3.0"
|
|
}
|
|
}
|
|
```
|
|
|
|
`com.cysharp.r3` and `org.nuget.r3` must be declared by the consuming project. Unity Package Manager can install Git packages from the project manifest, but Git dependencies declared inside another package's `package.json` are not resolved reliably. `org.nuget.r3` supplies the core R3 and BCL DLLs required by `R3.Unity`.
|
|
|
|
## 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.
|
|
- `Samples~/MainMenuP0` is a package sample candidate mirrored from the project-internal MainMenuP0 sample.
|
|
- `Tests~/EditMode` contains the first package-level smoke tests.
|
|
|
|
Runtime must not depend on Addressables, Editor, Samples, or Tests.
|