Skip to content

Commit 699a7e4

Browse files
committed
📝 docs: add Installation section header to fix README rendering
1 parent d9b817e commit 699a7e4

5 files changed

Lines changed: 13 additions & 43 deletions

File tree

Packages/com.soobak.algo.core/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
"runner",
1414
"visualization"
1515
],
16-
"dependencies": {
17-
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.5.3"
18-
},
16+
"dependencies": {},
1917
"samples": []
2018
}

Packages/com.soobak.algo.search/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
"algorithm",
1414
"visualization"
1515
],
16-
"dependencies": {
17-
"com.soobak.algo.core": "0.1.0",
18-
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.5.3"
19-
},
16+
"dependencies": {},
2017
"samples": []
2118
}

Packages/com.soobak.algo.sorting/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"algorithm",
1414
"visualization"
1515
],
16-
"dependencies": {
17-
"com.soobak.algo.core": "0.1.0",
18-
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.5.3"
19-
},
16+
"dependencies": {},
2017
"samples": [
2118
{
2219
"path": "Samples~/SortingVisualizerDemo",

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ Reusable Unity 6 algorithm pipeline. `com.soobak.algo.core` defines execution pr
1818
3. Consumers either pass an `ISortingAlgorithm` directly or call `ExecuteAsync("quick-sort", state, token)`.
1919
4. Each step broadcasts a cloned `SortingState` and a `SortOp` event so visualizers receive immutable snapshots.
2020

21-
1. Add the complete package from Git URL:
22-
```
23-
https://github.com/soo-bak/soobak-algo-core.git
24-
```
21+
## Installation
22+
23+
1. **Install UniTask first** (required dependency):
24+
- Open Unity Package Manager
25+
- Add package from Git URL: `https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#2.5.10`
26+
- Or use OpenUPM: `https://openupm.com/packages/com.cysharp.unitask/`
2527

26-
2. Or add individual packages using path parameters:
28+
2. **Add individual packages using path parameters**:
2729
```json
2830
{
2931
"dependencies": {
@@ -33,6 +35,9 @@ Reusable Unity 6 algorithm pipeline. `com.soobak.algo.core` defines execution pr
3335
}
3436
}
3537
```
38+
39+
**Note**: Each package is independent and can be installed separately. Make sure to install UniTask first before using any algorithm packages.
40+
3641
2. Implement a visualizer.
3742
```csharp
3843
public sealed class BarVisualizer : IBarVisualizer {

package.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)