Installation
This section outlines how to install Identity in your Unity project.
Prerequisites
The following are the prerequisites for installing Identity:
- A Unity version of 2021.3 or later
- A Unity account (to generate an identifier for your application)
- The VPN enabled Note: This prerequisite applies only to the Internal artifactory procedure.
Unity Package Manager
Note: This section will be relevant in future releases. Currently, the Identity package is only available in artifactory.
To install the Identity package by manually updating the manifest.json file, see the following steps:
- Add the following to your project's
manifest.json
file:
{
"dependencies": {
"com.unity.digital-twins.identity": "<x.y.z>",
// . . .
}
}
- In your Unity project, go to Window > Package Manager and verify that the Identity package and all its dependencies are resolved.
Internal artifactory
To install the Identity package using Unity's internal artifactory, see the following steps:
- Add the following to your project's
manifest.json
file:
{
"scopedRegistries": [
{
"name": "Artifactory",
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates-master/",
"scopes": ["com.unity.digital-twins"]
}
],
"dependencies": {
"com.unity.digital-twins.identity": "<x.y.z>",
// . . .
}
}
- Open your Unity project and verify that the Identity package and all its dependencies are resolved.