Easy Joystick for Mobile with Input System in Unity

Описание к видео Easy Joystick for Mobile with Input System in Unity

Today we will use the new input system in Unity to add an on-screen joystick to our game. This works on both desktop and mobile phone devices.

ᐅGet the full Source Code Bundle to my Unity Tutorials 🤓
https://sam-yam.itch.io/samyam-full-s...

Using an on-screen stick will pipe the values to a different control type, aka Gamepad stick, where we can then use an input action asset to read it's value in our script.

►📥 Video Source Code 📥
  / 50464914  

►🔗 Relevant Video Links 🔗
ᐅKenney Onscreen Controls
https://www.kenney.nl/assets/onscreen...
ᐅCharacter Controller Move Script
https://docs.unity3d.com/ScriptRefere...

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...
ᐅEditor Console Pro: https://assetstore.unity.com/packages...
ᐅRainbow Folders 2: https://assetstore.unity.com/packages...

🤝 Support Me 🤝
Patreon:   / samyg  
Donate: https://ko-fi.com/samyam

►⏱️ Timestamps ⏱️
0:00 Intro
0:07 Setup
0:31 On-screen Stick
1:42 Control Path
2:21 Adding Another Joystick
2:50 Input Action Asset
4:19 Input Action Usage Example
5:13 Joystick Image
6:32 Build to Phone
6:48 Outro

💖💖THANK YOU TO ALL MY PATRONS 💖💖

❯❯❯ My Links ❮❮❮
💗 Patreon 💗
  / samyg  
💬 Discord Server 💬
  / discord  
🐦 Twitter 🐦
  / samyam_utube  
📚 Facebook 📚
  / samyam.youtube  
🎵 Music 🎵
Ambient Gold
streambeats.com
👍 Like and Subscribe! 👍

🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam

#madewithunity #gamedev #unity

Комментарии

Информация по комментариям в разработке