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