Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Mobile Controls

Discussion in 'Input System' started by Hoodwinks, Apr 22, 2021.

  1. Hoodwinks

    Hoodwinks

    Joined:
    Mar 3, 2017
    Posts:
    3
    Mobile controls are something I would really like to learn and mess around with. Does anyone have any great resources or tutorials they could share with me that are up to date?

    I tried a few but by the end, they were outdated or poorly done, so I figured I'd ask the community for direction
     
  2. coding_storm

    coding_storm

    Joined:
    Mar 26, 2021
    Posts:
    34
  3. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    593
    Aren't the Learn tutorials above for the old Input system? I'd like to know if there are any good tutorials for the new Input System, which seems entirely different.
     
  4. coding_storm

    coding_storm

    Joined:
    Mar 26, 2021
    Posts:
    34
    That's the thing ,desktop games are easy to make so all people do that so their are no new tutorials for now which I know of
     
  5. coding_storm

    coding_storm

    Joined:
    Mar 26, 2021
    Posts:
    34
    You can try them as they might work
     
  6. Fenrisul

    Fenrisul

    Joined:
    Jan 2, 2010
    Posts:
    618

    Attached Files:

  7. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    593
    I had avoided the examples because it required a package download, pro-builder and would change my project settings. I decided to go ahead and give it a go, and sure enough, the Touch examples are poorly organized and don't clearly show an example of simulating swipes or pinches. Rather than sit nicely in the Samples folder (like all the other samples), they are all over my project now. The Swipe scene doesn't seem to work, or at least I'm not sure what the 'game' is supposed to do.

    The Swipe scene generates debug data, but I can't tell if this game is broken, my settings are off or something is wrong with the rendering. It looks like a slicing type of game, but nothing seems to happen with swipes of a mouse or when built to a device.

    Lean Touch is such a better implementation of what I'm looking for, but I hate cluttering up my projects with Asset store purchases if there is a native Unity system that should do this. The examples from Unity though have cluttered up my project even worse!
     
  8. But why do you even install the samples in your main project? Do you follow random tutorials in your main project too?
    It is pretty cheap to create a new project, install the input system in that empty project, get the samples you need, play with them and transfer whatever you need into your main project.

    I don't pull even asset store assets in my main project directly only through my garbage-collector empty project.