You’re absolutely right—Keijiro does utilize a scoped registry for distributing many of his Unity packages.
Keijiro hosts his packages on the public NPM registry (https://registry.npmjs.com) under the scope jp.keijiro. To access these packages in your Unity project, you can add a scoped registry entry in your Packages/manifest.json file:
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
"jp.keijiro.metamesh": "1.0.0"
This setup allows Unity’s Package Manager to fetch packages like jp.keijiro.metamesh directly from the NPM registry. citeturn0search0
- Open Project Settings: In Unity, navigate to
Edit > Project Settings > Package Manager.
- Add Scoped Registry:
- Name:
Keijiro
- URL:
https://registry.npmjs.com
- Scope(s):
jp.keijiro
- Save and Close: Unity will now recognize packages under the
jp.keijiro scope.
Alternatively, you can manually edit the Packages/manifest.json file as shown above.
After setting up the scoped registry, you can install Keijiro’s packages via the Unity Package Manager:
- Open Package Manager: Go to
Window > Package Manager.
- Select Registry: In the Package Manager window, select
My Registries from the dropdown menu.
- Install Package: Find the desired package (e.g.,
jp.keijiro.metamesh) and click Install.
If the package doesn’t appear in the list, you can manually add it by clicking the + button and selecting Add package by name..., then entering the package name and version. citeturn0search0
Keijiro distributes his Unity packages using a scoped registry hosted on NPM under the jp.keijiro scope. By configuring your Unity project to recognize this scoped registry, you can easily access and integrate his packages into your workflow.
Let me know if you need assistance with setting up the scoped registry or have questions about specific packages!