Download the Code here: gist.github.com/Mohammad9760/...
in this video we'll take a look at swipe detection with the new input system in unity.
you can detect touch and mouse swipes on the screen and get the direction of the swipe in a normalized vector 2.
you can also change the sensitivity of the swipe.
Subscribe / @triplequotes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
more unity tutorials: • Detect Double Clicks i...
unity visual effects tutorial: • Realistic Muzzle Flash...
special effects in unity: • GTA 5 Wasted Effect in...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
time stamps
0:00 intro
0:55 detect touch
2:40 detect swipe
5:15 creating an event
7:10 input actions
8:00 demo
Негізгі бет detect Swipe NEW Input system ( touch / mouse ) | how to detect swipe in unity with New Input system
Пікірлер: 18