Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How can I touch a game object on mobile and get events?

Discussion in 'Input System' started by Caetleo, Jun 16, 2022.

  1. Caetleo

    Caetleo

    Joined:
    Mar 19, 2019
    Posts:
    25
    I'm having a really hard time trying to figure out how to make a game object with a collider touchable with the new input system. Basically, I'm making a mobile game. I want the player to be able to click game objects and run my scripts.

    Previously I used assets like Control Freak 2 for mobile controls. However, these assets have become useless with the new Input System. I've watched several videos on YouTube. They all break down the new system but non actually explain how to accomplish what I'm doing. Any help for a new unity user like myself would be appreciated. Thank you
     
  2. Caetleo

    Caetleo

    Joined:
    Mar 19, 2019
    Posts:
    25
    Pray for help.
     
  3. justifun

    justifun

    Joined:
    Apr 2, 2013
    Posts:
    22
    @Caetleo - did you ever find a solution? i'm having the same problem