docs.unity3d.com
    Show / Hide Table of Contents

    Installation

    To install this package, refer to the instructions that match your Unity Editor version:

    Version 2022.1 and later

    To install this package, follow the installation instructions in the Unity User Manual.

    Version 2021.3

    2021.3.8f1 and later

    To install this package, follow the installation instructions in the Unity User Manual.

    2021.3.7f1 and earlier

    To install this package, follow the instructions for adding a package by name in the Unity Editor.

    Text Field Value
    Name com.unity.xr.interaction.toolkit
    Version (optional) 2.0.4

    Version 2020.3

    To install this package, follow the installation instructions in the Unity User Manual.

    Version 2019.4

    To install this package, follow the installation instructions in the Unity User Manual.

    Input System

    This package has a dependency on Input System. If that package has not already been installed, Unity will automatically add it to your Project. You might see a prompt asking you to enable input backends. Click Yes to accept it. For more information, see Enabling the new input backends in the Input System package documentation.

    installation-prompt-input-backends

    Interaction Layer Mask Updater

    You will see a prompt asking you to upgrade your interaction layers in your project assets. If you're installing the XR Interaction Toolkit for the first time in your project, click No Thanks to skip. If you are upgrading from an older package version prior to 2.0.0, then it's recommended to update the interaction layer masks by clicking I Made a Backup, Go Ahead!. For more information, see Interaction Layer Mask Updater.

    interaction-layer-mask-updater

    Installing samples

    The package comes with a number of samples, including a Starter Assets sample which contains a recommended set of input actions, controller bindings, and presets. You can install these directly from the Package Manager (from Unity's main menu, go to Window > Package Manager). Select the XR Interaction Toolkit package, then click Import next to a sample to copy it into the current project.

    For more details about samples, see the Samples page.

    Back to top
    Terms of use
    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