Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

InteractionManager.SourcePressed is obsolete while InteractionManager.InteractionSourcePressed doesn't work as well #30

@tazdriver

Description

@tazdriver

What does this effect?
MRDesignLabs_Unity_Tools(master)/HUX

Unity editor version:
Unity 2018.1.6f1

Describe the bug
While using HUX toolkit in Unity project, I have faced an error in InteractionManager.cs:

Assets/Extern/MRDesignLab/HUX/Scripts/Interaction/InteractionManager.cs(131,57): error CS0619: `UnityEngine.XR.WSA.Input.InteractionManager.SourcePressed' is obsolete: `SourcePressed is deprecated, and will be removed in a future release. Use InteractionSourcePressed instead. (UnityUpgradable) -> InteractionSourcePressedLegacy'

As I change from 'SourcePressed' to 'InteractionSourcePressed' it gives me:

Assets/Extern/MRDesignLab/HUX/Scripts/Interaction/InteractionManager.cs(131,57): error CS0123: A method or delegate HUX.Interaction.InteractionManager.InteractionManager_SourcePressedCallback(UnityEngine.XR.WSA.Input.InteractionSourceState)' parameters do not match delegate `System.Action<UnityEngine.XR.WSA.Input.InteractionSourcePressedEventArgs>(UnityEngine.XR.WSA.Input.InteractionSourcePressedEventArgs)' parameters

Also, even it says (UnityUpgradable) -> InteractionSourceReleasedLegacy, API Updater doen't provide any possible solution/fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions