Skip to content

Commit

Permalink
Merge pull request #324 from De-Panther/fix_error_when_xri_missing
Browse files Browse the repository at this point in the history
Fix error when some packages are missing
  • Loading branch information
De-Panther authored Nov 22, 2023
2 parents 248ae97 + 327dc8d commit 2ffe8d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Packages/webxr-interactions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Error when Input System package in project and no XR Interaction Toolkit package.

## [0.19.0] - 2023-11-22
### Added
- Support for Unity Input System and XR Interaction Toolkit.
Expand Down
4 changes: 1 addition & 3 deletions Packages/webxr-interactions/Runtime/InputSystem/HandMenu.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER && HAS_XR_INTERACTION_TOOLKIT
using Unity.XR.CoreUtils.Bindings;
using Unity.XR.CoreUtils.Bindings.Variables;
using UnityEngine.Assertions;
#endif
#if HAS_XR_INTERACTION_TOOLKIT
using UnityEngine.XR.Interaction.Toolkit.Inputs;
using UnityEngine.XR.Interaction.Toolkit.Utilities;
using UnityEngine.XR.Interaction.Toolkit.Utilities.Tweenables.Primitives;
Expand Down

0 comments on commit 2ffe8d6

Please sign in to comment.