detect Swipe NEW Input system ( touch / mouse ) | how to detect swipe in unity with New Input system
9.8 هزار بار بازدید -
2 سال پیش
-
Download the Code here:
Download the Code here: https://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 in Unity!
unity visual effects tutorial: Realistic Muzzle Flash Effect in 5 Mi...
special effects in unity: GTA 5 Wasted Effect in Unity
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
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 in Unity!
unity visual effects tutorial: Realistic Muzzle Flash Effect in 5 Mi...
special effects in unity: GTA 5 Wasted Effect in Unity
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
2 سال پیش
در تاریخ 1401/09/17 منتشر شده
است.
9,894
بـار بازدید شده