Kanda SDK 0.6.0
|
Kanda SDK is delivered using a private NPM registry. Users must be authenticated to access this registry, so it requires a few extra steps get it set up.
To use the Kanda SDK, you must have a supported version of Unity installed.
The Kanda Package Registry can be accessed in your browser at https://npm.kanda.dk.
Unity Package Manager uses Node Package Manager, npm
, under the hood. Make sure you have Node Package Manager available on your system before proceeding.
To add your user to the registry, use the command line:
After running the command, it will ask you to enter username and password. This is where you create an account to be able to use the registry, so specify a username and password.
If user registration has been locked down, you may need an authorized Kanda staff to create your user.
Next, you need to log in to the Kanda Package Registry so we can retrieve an authorization token.
In order for Unity Package Manager to communicate with the registry, you need to copy your credentials from the npm login
process to the .upmconfig.toml
file.
For detailed instructions, follow Unity's guide for scoped registry authentication.
On MacOS, this process might look something like:
On Windows, this process might look something like:
.npmrc
file.npmrc
file and copy the authToken
.upmconfig.toml
file