Search Unity

Question Touch input for game view in Mars

Discussion in 'Unity MARS' started by ntvd1207, Dec 22, 2020.

  1. ntvd1207

    ntvd1207

    Joined:
    Dec 16, 2018
    Posts:
    12
    I am forced to use mouse mouseButtonDown so it will work in game mode.

    Is there something special I need to do for touch to simulate in the game window?
     
  2. mtschoen

    mtschoen

    Unity Technologies

    Joined:
    Aug 16, 2016
    Posts:
    194
    Hi there!

    You can use Unity Remote to connect your phone to the Editor and send touch input to the Game View, or use the Device Simulator package to emulate Touch input with the mouse. Does either of these options work for your use case?

    Hope this helps!