Skip to content

Unity new input system

Andrey edited this page Feb 5, 2022 · 2 revisions

In this project I create a simple way to handle touch on mobile platform. Here we use ONLY subscriptions to events, it easy to scale till 10 touches in row(maximum of input system).

So, here I'll write some tips how to use and what.

What you get by downloading this scripts?

  1. touch coordinate (for each 3 touches)
  2. touch delta
  3. touch phase
  4. first touch position

Also you get from existing methods:

  1. radius between 2 first touches
  2. delta radius between 2 first touches
  3. rotation delta between 2 first touches

Clone this wiki locally