Minor fixes to readme, sample etc.

This commit is contained in:
ashtat 2022-04-04 10:15:50 -07:00
Родитель e40b99d9db
Коммит da5cb471a7
4 изменённых файлов: 27 добавлений и 3 удалений

Просмотреть файл

@ -50,4 +50,28 @@ If you forget to include submodules when cloning, add them with `git submodule u
### Artifacts
- Build produces UPM and Unity asset packages
- Unity asset package is available under [releases tab](https://github.com/microsoft/spatialaudio-unity/releases)
- 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)
- 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)
### Consuming the UPM Pacakge
- [`manifest.json`](Samples/MicrosoftSpatializerSample/Packages/manifest.json) in the sample project shows integration of UPM package into a project
- Add/edit the `scopedRegistries` section to project's `manifest.json`
```
"scopedRegistries": [
{
"name": "Microsoft Mixed Reality",
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry/",
"scopes": [
"com.microsoft.spatialaudio"
]
}
],
```
- And add the package name and version to the `dependencies` section
```
"dependencies": {
...
"com.microsoft.spatialaudio.spatializer.unity": "2.0.30-prerelease",
...
}
```

Просмотреть файл

@ -13,7 +13,7 @@
"com.microsoft.mixedreality.toolkit.examples": "2.5.1",
"com.microsoft.mixedreality.toolkit.foundation": "2.5.1",
"com.microsoft.mixedreality.toolkit.tools": "2.5.1",
"com.microsoft.spatialaudio.spatializer.unity": "2.0.24-prerelease",
"com.microsoft.spatialaudio.spatializer.unity": "2.0.30-prerelease",
"com.unity.collab-proxy": "1.3.9",
"com.unity.ext.nunit": "1.0.6",
"com.unity.ide.rider": "2.0.7",

Просмотреть файл

@ -47,7 +47,7 @@
"url": "https://pkgs.dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging/Unity-packages/npm/registry"
},
"com.microsoft.spatialaudio.spatializer.unity": {
"version": "2.0.24-prerelease",
"version": "2.0.30-prerelease",
"depth": 0,
"source": "registry",
"dependencies": {},

Просмотреть файл