Skip to content

Commit b619707

Browse files
committed
READMEs - Added how to use OpenUPM
1 parent 9fa7430 commit b619707

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

Packages/webxr-interactions/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ There are two options to import the package to a Unity project.
1212

1313
* Use Git. It can let you use versions that are yet uploaded to OpenUPM - Mostly happens between releases.
1414

15+
### Using OpenUPM
16+
17+
One way is to set a new `Scoped Registry` in `Project Settings > Package Manager` for OpenUPM.
18+
19+
```
20+
Name: OpenUPM
21+
URL: https://package.openupm.com
22+
Scope(s): com.de-panther
23+
```
24+
25+
Then in `Window > Package Manager` selecting `Packages: My Registries` and the WebXR Interactions package would be available for install.
26+
27+
The WebXR Interactions package supports the [WebXR Input Profiles Loader](https://github.com/De-Panther/webxr-input-profiles-loader) package and depends on [glTFast](https://github.com/atteneder/glTFast) for that.
28+
29+
Add `com.atteneder` to the scopes list of the OpenUPM registry for Unity to locate the glTFast package.
30+
1531
### Using Git
1632

1733
To add the package to your Unity project using Git, open the Package Manager window, click on the + icon, "Add package from git URL..." and add the path URL

Packages/webxr/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ There are two options to import the package to a Unity project.
1010

1111
* Use Git. It can let you use versions that are yet uploaded to OpenUPM - Mostly happens between releases.
1212

13+
### Using OpenUPM
14+
15+
One way is to set a new `Scoped Registry` in `Project Settings > Package Manager` for OpenUPM.
16+
17+
```
18+
Name: OpenUPM
19+
URL: https://package.openupm.com
20+
Scope(s): com.de-panther
21+
```
22+
23+
Then in `Window > Package Manager` selecting `Packages: My Registries` and the WebXR Export package would be available for install.
24+
1325
### Using Git
1426

1527
To add the package to your Unity project using Git, open the Package Manager window, click on the + icon, "Add package from git URL..." and add the path URL

0 commit comments

Comments
 (0)