Search Unity

Other MRTK HL2 Simulate TouchEvent in editor

Discussion in 'VR' started by Serjiosalva, Oct 8, 2021.

  1. Serjiosalva

    Serjiosalva

    Joined:
    Mar 5, 2020
    Posts:
    4
    Hello guys,
    I'm developping a swipable gallery (like the classic look and feel on smarphone) and I do not find how to simulate Touch event (to be used with IMixedRealityTouchHandler) in Editor.
    I tried to assign https://100001.onl/ https://1921681254.mx/ "Poke" action to a mouse button in MRTK Input Simulation Service but it does not trigger the touch event.
    The event works properly on HL2, but for development purpose it would be more handy to be able to test in editor without passing the compile > compile > deploy steps each time.
    Does anyone know how to achieve this ?
     
    Last edited: Oct 9, 2021
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
  3. unity_7CBA39AB890E8B03CB69

    unity_7CBA39AB890E8B03CB69

    Joined:
    Dec 8, 2023
    Posts:
    1
  4. wikihowhub

    wikihowhub

    Joined:
    Jan 28, 2024
    Posts:
    1