-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 9.76 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 9.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "com.unity.xr.interaction.toolkit",
"displayName": "XR Interaction Toolkit",
"version": "3.7.0-pre.1",
"unity": "6000.0",
"description": "A high-level, component-based, interaction system for creating VR and AR experiences. It provides a framework that makes 3D and UI interactions available from Unity input events. The core of this system is a set of base Interactor and Interactable components, and an Interaction Manager that ties these two types of components together. It also contains components that you can use for locomotion and drawing visuals.",
"keywords": [
"XR",
"VR",
"toolkit",
"interaction"
],
"category": "XR",
"dependencies": {
"com.unity.inputsystem": "1.8.1",
"com.unity.mathematics": "1.2.6",
"com.unity.ugui": "2.0.0",
"com.unity.xr.core-utils": "2.4.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"samples": [
{
"displayName": "Starter Assets",
"description": "Assets to streamline setup of behaviors, including a default set of input actions and presets for use with XR Interaction Toolkit behaviors that use the Input System. Also contains a demo scene.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.shadergraph\">Shader Graph</a>",
"path": "Samples~/Starter Assets"
},
{
"displayName": "Hands Interaction Demo",
"description": "Demo scene and other assets for hand-tracking integration with the XR Interaction Toolkit.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.hands\">XR Hands</a>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.shadergraph\">Shader Graph</a>\n • Starter Assets sample\n • HandVisualizer sample (from XR Hands)\n • TMP Essential Resources",
"path": "Samples~/Hands Interaction Demo"
},
{
"displayName": "XR Mouse Interaction Demo",
"description": "Demo scene and assets for Android Mouse support using the Android Mouse OpenXR Extension with the XR Interaction Toolkit.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.openxr\">OpenXR Plugin</a> 1.17.0 or newer\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.androidxr-openxr\">Unity OpenXR Android XR</a>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.hands\">XR Hands</a>\n • Hands Interaction Demo sample\n • HandVisualizer sample (from XR Hands)\n • TMP Essential Resources",
"path": "Samples~/XRMouseInteractionDemo"
},
{
"displayName": "AR Starter Assets",
"description": "Assets to streamline setup when building for Mobile AR or Mixed Reality with the XR Interaction Toolkit. This includes prefabs and a demo scene to get you started.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.arfoundation\">AR Foundation</a>\n • Starter Assets sample",
"path": "Samples~/AR Starter Assets"
},
{
"displayName": "XR Interaction Simulator",
"description": "Assets related to the simulation of input for XR headsets, controllers, and hands.",
"path": "Samples~/XR Interaction Simulator"
},
{
"displayName": "Spatial Keyboard",
"description": "Virtual spatial keyboard to allow for text entry in a world space UI. This interactable keyboard can be used in your app instead of the platform's system keyboard.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.hands\">XR Hands</a>\n • Starter Assets sample\n • Hands Interaction Demo sample\n • HandVisualizer sample (from XR Hands)\n • TMP Essential Resources",
"path": "Samples~/Spatial Keyboard"
},
{
"displayName": "World Space UI",
"description": "This sample provides a demo scene and prefabs demonstrating how to leverage UI Toolkit and UGUI in world space in conjunction with the XR Interaction Toolkit. \n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.hands\">XR Hands</a>\n • Starter Assets sample\n • Hands Interaction Demo sample\n • HandVisualizer sample (from XR Hands)\n • TMP Essential Resources\n • Unity 6.2 or newer (minimum 6000.2.0a9)",
"path": "Samples~/World Space UI"
},
{
"displayName": "visionOS",
"description": "This sample provides a demo scene and prefabs designed to to help you get started developing on visionOS with the XR Interaction Toolkit.\n<i>Dependencies:</i>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.xr.arfoundation\">AR Foundation</a>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.polyspatial.visionos\">PolySpatial visionOS</a>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.polyspatial.xr\">PolySpatial XR</a>\n • <a href=\"com.unity3d.kharma:upmpackage/com.unity.shadergraph\">Shader Graph</a>\n • Starter Assets sample",
"path": "Samples~/visionOS"
},
{
"displayName": "Legacy XR Input Readers",
"description": "This sample provides ScriptableObjects to assist with migration from the older device-based controller input to be used with the new input readers introduced with version 3.0.0.",
"path": "Samples~/Legacy XR Input Readers"
},
{
"displayName": "XR Device Simulator",
"description": "(Legacy) Assets related to the simulation of input for XR headsets, controllers, and hands.\n <b>Note:</b> This is the older \"classic\" version of input simulation and does not have as many features as the XR Interaction Simulator sample. This sample will be removed in a future version of the XR Interaction Toolkit.",
"path": "Samples~/XR Device Simulator"
}
],
"_upm": {
"changelog": "### Added\n- Added support for dynamically adding and removing colliders on interactables after registration. `XRBaseInteractable` now provides `RegisterCollider`, `UnregisterCollider`, `RefreshColliders`, and a `collidersChanged` event (with `CollidersChangedEventArgs`) for managing colliders at runtime. For UI Toolkit world space panels, colliders created dynamically by `UIDocument` are automatically registered when the `XRUIToolkitManager` is present in the scene.\n- Added `XRPokeFilter` recovery path that automatically re-enables the filter when colliders are added to an interactable after the filter initially disabled itself due to missing colliders.\n- Added editor restriction to prevent modifying the **Colliders** list in the Inspector during Play mode while the interactable is active. A help box directs users to the runtime API (`RegisterCollider`, `UnregisterCollider`, `RefreshColliders`) or to disable the component to edit the list.\n- Added support for hands in the Spatial Keyboard sample. Adds a dependency on the Hands Interaction Demo sample which contains the XR Origin prefab configured for hands.\n- Added UI buttons to teleport pads in Starter Assets, Spatial Keyboard, and World Space UI Samples.\n- Added reticle support to [`CurveVisualController`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.CurveVisualController). The component also now implements [`IXRCustomReticleProvider`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.IXRCustomReticleProvider) to be able to receive reticles from interactables.\n- Added `BlockedReticleSwapper` sample component to Starter Assets that swaps the reticle on a `CurveVisualController` when the interactor is hovering but cannot select.\n\n### Changed\n- Changed `XRUIToolkitManager` to add a `MonoBehaviour.Update` method implementation for monitoring dynamic collider registrations. The manager detects externally destroyed colliders (e.g. `UIDocument` disable/re-enable) and re-registers them when they return. Panels with **Collider Update Mode** set to **Keep existing colliders (if any)** in Panel Settings are skipped. Users who have a derived class that implements `Update` will need to call `base.Update()` for dynamic collider registration to function.\n- Changed `XRPokeFilter` to stay subscribed to `collidersChanged` and update its collider reference when colliders are replaced at runtime.\n- Changed `XRPokeFilter` to recompute poke interaction depth at the start of each poke to account for collider bounds changes.\n- Changed `XRPokeLogic` interaction axis length calculation to ensure thin colliders with center offsets produce a valid poke depth. The axis length is now clamped to at least half the collider's size along the poke direction. Colliders with zero depth along the poke direction will still return 0.\n- Changed script assets Hands Interaction Demo sample by moving `CalloutGazeController` and `UIComponentToggler` to the Starter Asserts sample to support Starter Assets UI Button teleport.\n\n### Fixed\n- Fixed UI Toolkit world space panels with dynamically created colliders not working with poke interactors. ([UUM-143724](https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-143724))\n- Fixed `ButtonEventSample` in the World Space UI sample not rebinding UI element references when the `UIDocument` component is disabled and re-enabled independently of the GameObject.\n- Fixed [`XRBaseInteractable`](xref:UnityEngine.XR.Interaction.Toolkit.Interactables.XRBaseInteractable) custom reticle injection to search child GameObjects for [`IXRCustomReticleProvider`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.IXRCustomReticleProvider), allowing it to work when the provider is on a child GameObject.\n\n<!-- Unreleased -->"
},
"upmCi": {
"footprint": "2b5e9c12fb6717c60402cbe7374b2c2eecca4806"
},
"documentationUrl": "https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@3.7/manual/index.html",
"repository": {
"url": "https://github.com/Unity-Technologies/com.unity.xr.interaction.toolkit.git",
"type": "git",
"revision": "354b3cffdbe73a1437659d0361291f42e6b6954b"
}
}