Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the new Unity Input System #1676

Draft
wants to merge 139 commits into
base: develop
Choose a base branch
from
Draft

Conversation

rblenkinsopp
Copy link
Member

@rblenkinsopp rblenkinsopp commented Feb 5, 2025

Summary

This ensures that all the parts of the main Ultraleap Tracking package support the new Unity Input System.

Only the UIInputModule in the Tracking Preview package and the controller example for the input manager does not work with this system. These have been split into a set of examples for the input manager (old) from the existing tracking preview examples which are now the main examples. There is also a common set of example assets that need to be imported for both example 'packages' to work.

While splitting/moving the examples, a couple of issue have been fixed with the UI input scene

  1. The indirect click has been fixed.
  2. The toggle button text now finally toggles with the toggle state to on/off!

Contributor Tasks

  • Create or edit test cases here
  • Add a CHANGELOG entry for this change.
  • Ensure documentation requirements are met e.g., public API is commented.
  • Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.

Test Cycle

Link to the test cycle here.

Reviewer Tasks

  • Code reviewed.
  • Non-code assets e.g. Unity assets/scenes reviewed.
  • All tests must be ran and cover all scenarios (If not, add new tests to the cycle and run them).
  • Documentation has been reviewed.
  • Approve with a comment of any additional tests run or any observations.

Related JIRA Issues

If this MR closes any JIRA issues list them below in the form Closes PROJECT-#

Pull Request Templates

Switch template by going to preview and clicking the link - note it will not work if you've made any changes to the description.

You are currently using: default.md

Note: these links work by overwriting query parameters of the current url. If the current url contains any you may want to amend the url with &template=name.md instead of using the link. See query parameter docs for more information.

MaxPalmer-UH and others added 30 commits January 23, 2025 16:21
…pgrading and also Unity's solution to build a map of materials to upgrade / downgrade between BiRP and URP
… render pipeline for all ultraleap materials in packages and samples/examples. Untested
…Added and assigned clones of the default materials that can be upgraded. Also attempting to improve the glass material appearance on conversion to URP
…erials and shader folders - to be consistent and contain Univeral Render Pipeline and Built In Render Pipeline subfolders
…erials and shader folders - to be consistent and contain Univeral Render Pipeline and Built In Render Pipeline subfolders. This time for samples
…is will only be asked once - although that state is currently persisted and needs a better mechanism
MaxPalmer-UH and others added 30 commits February 26, 2025 11:02
Add missing Unity UI dependency to preview package
…erialized instance). Now logs materials that could not be converted
Cleaned up commented code and comments
…in_assets_XRFE-182

Support URP and BiRP including for Unity 6
This script is only used in the Editor, so this is the correct way to handle input listening and will work no matter the input system that's currently in use.
Update Copyright year and fix formatting
This script is only used in the Editor, so this is the correct way to handle input listening and will work no matter the input system that's currently in use.
…mples and examples that use the (old) Unity Input Manager
…te does not change to On if toggled to the on state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants