Swipe Detection + Trail Effect w/ New Input System - Unity Tutorial

samyam โ€ข January 5, 2021
Video Thumbnail
samyam Logo

samyam

@samyam

About

Bust Buddies OUT NOW on Steam and making game development fun :)!

Video Description

Detect swipes and it's direction with the *new* input system in Unity 2020. I also show how to add a trail renderer for a cool swipe effect. แ…Get the full Source Code Bundle to my Unity Tutorials ๐Ÿค“ https://sam-yam.itch.io/samyam-full-source-code-to-all-videos ๐Ÿ“ฅ Get the Source Code ๐Ÿ“ฅ https://www.patreon.com/posts/45726030 ๐Ÿ”— Relevant Video Links ๐Ÿ”— แ…How to use Touch with NEW Input System - Unity 2020 Tutorial https://youtu.be/ERAN5KBy2Gs แ…Get Object from Mouse Click and Call Functions through Interface - Unity 2020 Tutorial https://youtu.be/JID7YaHAtKA แ…Unity's New Input System 2020 https://youtube.com/playlist?list=PLKUARkaoYQT2nKuWy0mKwYURe2roBGJdr ๐Ÿค Support Me ๐Ÿค Patreon: https://www.patreon.com/samyg Donate: https://ko-fi.com/samyam Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets! ๐Ÿ˜Ž Cool Unity Assets ๐Ÿ˜Ž แ…Peek - Editor Toolkit: https://assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410 แ…Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889 แ…Rainbow Folders 2: https://assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526 โฑ๏ธ Timestamps โฑ๏ธ 0:00 Intro 0:52 Input Action 2:34 Input Manager 8:54 Swipe Detection 14:37 Swipe Direction 18:15 Trail Renderer 22:46 Build 23:57 Outro ๐Ÿ’–๐Ÿ’–THANK YOU TO ALL MY PATRONS ๐Ÿ’–๐Ÿ’– โฏโฏโฏ My Links โฎโฎโฎ ๐Ÿ’— Patreon ๐Ÿ’— https://www.patreon.com/samyg ๐Ÿ’ฌ Discord Server ๐Ÿ’ฌ https://discord.gg/mj3dSnmaZc ๐Ÿฆ Twitter ๐Ÿฆ https://twitter.com/samyam_utube ๐Ÿ“š Facebook ๐Ÿ“š https://www.facebook.com/samyam.youtube/ ๐ŸŽต Music ๐ŸŽต Fretless by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/3777-fretless License: http://creativecommons.org/licenses/by/4.0/ ๐Ÿ‘ Like and Subscribe! ๐Ÿ‘ ๐Ÿ–ฅ๏ธ Computer Setup ๐Ÿ–ฅ๏ธ *As an Amazon Associate I earn from qualifying purchases. https://www.amazon.com/shop/samyam #unity3d #unitytutorial #unity2021

Upgrade Your Gaming Setup Now

AI-recommended products based on this video

Loading...
Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

(239)
$459.00
FREE delivery Sat, Jan 3
Loading...
Beelink SER3 Mini PC, AMD Ryzen 3 3200U(14nm, 2C/4T) up to 3.5GHz, Mini Gaming Computer 16GB DDR4 RAM 500GB PCIE3.0 X4 SSD, Micro PC 4K@60Hz Dual Display, Mini Computer WiFi6/BT5.2/HTPC/W-11 Pro

Beelink SER3 Mini PC, AMD Ryzen 3 3200U(14nm, 2C/4T) up to 3.5GHz, Mini Gaming Computer 16GB DDR4 RAM 500GB PCIE3.0 X4 SSD, Micro PC 4K@60Hz Dual Display, Mini Computer WiFi6/BT5.2/HTPC/W-11 Pro

(1,251)
$329.00
FREE delivery Sat, Jan 3
Loading...
Beelink SER3 Mini PC, AMD Ryzen 3 3200U(up to 3.5GHz) 2C/4T, Mini Computer 16GB DDR4 RAM 500GB SSD, Mini Desktop Computer 4K@60Hz Dual HDMI Display WiFi6/BT5.2/WOL/HTPC/W-11 Pro

Beelink SER3 Mini PC, AMD Ryzen 3 3200U(up to 3.5GHz) 2C/4T, Mini Computer 16GB DDR4 RAM 500GB SSD, Mini Desktop Computer 4K@60Hz Dual HDMI Display WiFi6/BT5.2/WOL/HTPC/W-11 Pro

(815)
$329.00
FREE delivery Sat, Jan 3
50+ bought in past month
Loading...
acer Aspire 3 A315-24P-R7VH, 15.6" FHD 1920x1080 Laptop, AMD Ryzen 3 7320U, Radeon Graphics, 8GB RAM, 128G SSD, Windows 11 in S Mode
Best Seller

acer Aspire 3 A315-24P-R7VH, 15.6" FHD 1920x1080 Laptop, AMD Ryzen 3 7320U, Radeon Graphics, 8GB RAM, 128G SSD, Windows 11 in S Mode

(3,603)
$529.99$489.99
FREE delivery Tue, Jun 17
500+ bought in past month
Loading...
EVA Storage Bag for GTX 1660 Super, RTX 2060 Super, 3060 Ti, and 3070 Graphics Cards, 40 x 36 x 5 cm, Compact Protective Case with Dust-Resistant Design, Black

EVA Storage Bag for GTX 1660 Super, RTX 2060 Super, 3060 Ti, and 3070 Graphics Cards, 40 x 36 x 5 cm, Compact Protective Case with Dust-Resistant Design, Black

(0)
$30.69
$0.88 delivery Mar 9 - 27
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

(32)
$39.99
FREE delivery Sun, Aug 10
200+ bought in past month
Loading...
llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

(1,404)
$129.99
Prime
200+ bought in past month
Loading...
Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

(35)
$39.99
600+ bought in past month
Loading...
MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

(21)
$89.99$85.49
FREE delivery Sat, Jan 3
Loading...
CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit โ€“ Hardline Water Cooling Loop โ€“ XC7 Elite CPU Water Block โ€“ XD5 Elite D5 Pump Res โ€“ XR5 360mm Radiator โ€“ 3X QX120 RGB Fans

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit โ€“ Hardline Water Cooling Loop โ€“ XC7 Elite CPU Water Block โ€“ XD5 Elite D5 Pump Res โ€“ XR5 360mm Radiator โ€“ 3X QX120 RGB Fans

(235)
$879.99
FREE delivery Sun, Aug 24