Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit cbc915a

Browse files
authored
Merge pull request #73 from microsoft/user/ashtat/MinorChanges
Minor fixes to readme, sample etc.
2 parents e40b99d + da5cb47 commit cbc915a

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,28 @@ If you forget to include submodules when cloning, add them with `git submodule u
5050
### Artifacts
5151
- Build produces UPM and Unity asset packages
5252
- Unity asset package is available under [releases tab](https://github.com/microsoft/spatialaudio-unity/releases)
53-
- Unity asset packages are also available on a UPM feed via [Microsoft Mixed Reality Feature Tool](https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/configuration/usingupm?view=mrtkunity-2021-05)
53+
- Unity asset packages are also available on a UPM feed via [Microsoft Mixed Reality Feature Tool](https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/configuration/usingupm?view=mrtkunity-2021-05)
54+
55+
56+
### Consuming the UPM Pacakge
57+
- [`manifest.json`](Samples/MicrosoftSpatializerSample/Packages/manifest.json) in the sample project shows integration of UPM package into a project
58+
- Add/edit the `scopedRegistries` section to project's `manifest.json`
59+
```
60+
"scopedRegistries": [
61+
{
62+
"name": "Microsoft Mixed Reality",
63+
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry/",
64+
"scopes": [
65+
"com.microsoft.spatialaudio"
66+
]
67+
}
68+
],
69+
```
70+
- And add the package name and version to the `dependencies` section
71+
```
72+
"dependencies": {
73+
...
74+
"com.microsoft.spatialaudio.spatializer.unity": "2.0.30-prerelease",
75+
...
76+
}
77+
```

Samples/MicrosoftSpatializerSample/Packages/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"com.microsoft.mixedreality.toolkit.examples": "2.5.1",
1414
"com.microsoft.mixedreality.toolkit.foundation": "2.5.1",
1515
"com.microsoft.mixedreality.toolkit.tools": "2.5.1",
16-
"com.microsoft.spatialaudio.spatializer.unity": "2.0.24-prerelease",
16+
"com.microsoft.spatialaudio.spatializer.unity": "2.0.30-prerelease",
1717
"com.unity.collab-proxy": "1.3.9",
1818
"com.unity.ext.nunit": "1.0.6",
1919
"com.unity.ide.rider": "2.0.7",

Samples/MicrosoftSpatializerSample/Packages/packages-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
4848
},
4949
"com.microsoft.spatialaudio.spatializer.unity": {
50-
"version": "2.0.24-prerelease",
50+
"version": "2.0.30-prerelease",
5151
"depth": 0,
5252
"source": "registry",
5353
"dependencies": {},
File renamed without changes.

0 commit comments

Comments
 (0)