docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License

    • Identity
      • Installation
    • Get started
    • Best practice | Dependency injection
    • Integrate authentication in your scene
    • Get user information
    • Test with WebGL in a localhost
    • Sample | Integrate Identity in a Unity project

    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 app)
    • 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:

    1. Add the following to your project's manifest.json file:
      {
        "dependencies": {
          "com.unity.digital-twins.identity": "0.7.0",
          // . . .
        }
      }
    
    1. 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:

    1. 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": "0.7.0",
          // . . .
        }
      }
    
    1. Open your Unity project and verify that the Identity package and all its dependencies are resolved.
    Back to top Generated by DocFX
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023