Unity's NEW input system in 13 minutes

  Рет қаралды 10,751

BiteMe Games

BiteMe Games

Күн бұрын

In previous videos, we've already talked about how we ditched Rewired in favor of Unity's new input system. In today's video, Thomas goes over the basics of the new input system, and how you can get started with it on your own.
Timestamps:
00:00 What's an input system?
00:28 Why not the old?
01:29 Setting up movement
09:47 Setting up actions
12:12 Conclusion
---
Get our game now on Steam: store.steampowered.com/app/21...
Join our Discord: / discord
Get 1-to-1 coaching for your game or studio: www.fiverr.com/s/jGmQgL
In need of some Unity Assets? Use our affiliate link to support us, it's free, and we get a small kickback: prf.hn/l/wzGa15G
Want to reach out to us? send us an email at hello@bitemegames.com

Пікірлер: 25
@VinceColletti
@VinceColletti 4 ай бұрын
This video really helped me to understand how to use the new input system. Thank you!
@DavidEarle
@DavidEarle 5 ай бұрын
I went through four different tutorials on this new system, including the one in Unity's documentation, and this is the only one that got my character moving. Thank you!
@MalikenGD
@MalikenGD 8 ай бұрын
Thanks for this
@StickyLabDev
@StickyLabDev 2 ай бұрын
i need to have 5 joystick on screen stick , joystick but istruggle to set which joystick should control the correct function, cause it only work with right and left gamepad
@moshecristel
@moshecristel 7 ай бұрын
The best video I've seen about the New Input System. Thank you! Also, what software did you use to edit your video and do the picture-in-picture and zooming?
@bitemegames
@bitemegames 7 ай бұрын
It's just my regular editing software, Premiere Pro with a bunch of effects and layers. Nothing too crazy, there are plenty of tutorials regarding it which you can find online. -M
@moshecristel
@moshecristel 7 ай бұрын
@@bitemegames Thanks for the reply! Always good to know what folks are using :). Appreciated!
@fokeyjo
@fokeyjo 10 ай бұрын
Great that you added a little explanation about what control schemes and action maps are. And an interesting way to create the event for it that's different to other tutorials. I've been trying to set up a game that has both keyboard and mouse enabled at the same time for movement (it's a simple game, doesn't need a controls selector). I've only been able to make it work in code by only triggering a pointer move when you click. But I wasn't sure if input actions are actually able to do that? I tried a composite with a modifier, didn't seem to do it. I also don't get how it works when you get a canvas involved. It doesn't do everything, mouse needs a raycast if you have a canvas UI and in-game controls.
@bitemegames
@bitemegames 10 ай бұрын
As far as I know, you can definitely do mouse and keyboard input at the same time. I remember for Forge Industry I sometimes used a controller and keyboard at the same time to speed up my movement. Can you not just have one action (move for example) with several bindings under it? (for mouse and keyboard)
@squonkbot9487
@squonkbot9487 22 күн бұрын
I like how I cant add this video to a playlist like I can every other video
@channyh.221B
@channyh.221B 10 ай бұрын
I have 15 minutes to spare, so watching it and commenting on it, should be possible. This is a great example of 'show and tell' cause even a noob like me can just begin with this. Now thinking of what kind of game I want to write .... that might take a bit longer. A waaaaaaaaaaayyyyyyyyyyyyyy bit longer. And 3 seconds left. Nailed it!
@umutyldrm6838
@umutyldrm6838 8 ай бұрын
what did you do in that remaining 2 minutes ))
@channyh.221B
@channyh.221B 8 ай бұрын
@@umutyldrm6838 I spend 1 minute and 57 seconds writing the comment and had 3 seconds left to glorify on how well that all went. I say, a good 15 minutes well spent. =D
@umutyldrm6838
@umutyldrm6838 8 ай бұрын
@@channyh.221B you must be time management guru then. machina ))
@gamedevjourney4231
@gamedevjourney4231 10 ай бұрын
Very cool introduction to the Unity Inputsystem. I started using it, but I'm still not familiar with all the possibilities it will bring.
@sealsharp
@sealsharp 10 ай бұрын
The second Thomas-tuesday in a row! Now it's a pattern. Stick to it! I like the new input system. It's better, far better than the old magic string based system. But it isn't completely thought through though ( like the consistent pronounciation of "-ough" in some english words). The InputSystem can create a c# class of itself. That class does not reference the asset, but insteads delivers a duplicate as serialized json within itself. Which means, if you use the c#-class version, but you also have a UI event linked to the InputSystem asset, those are not the same instance which is really not handy when enabling and disabling keymaps when switching states. The c#-version has a reference to it's runtime-created asset and that can be assigned to the event system via code, but it's kinda strange and feels like one of these "did you talk to actual developers when designing this?" moments that tend to happen sometimes with Unity components. The rebinding is a little obscure but practical once done.
@bitemegames
@bitemegames 10 ай бұрын
It's indeed not perfect but still a massive improvement. Not using the class generation feature however. -T
@jayleo500
@jayleo500 Ай бұрын
I wish I had seen this before I implemented an input observer from scratch because I thought polling for input in update() was stupid.
@rafaelache8650
@rafaelache8650 5 күн бұрын
niceee
@evgevg
@evgevg 9 ай бұрын
Hello! Thank you for the video. I would like a deeper study of the new input system, for example, how to correctly create a virtual mouse for the gamepad and correctly switch between it and the native mouse. The official example from Unity is bad and doesn't work well.
@bitemegames
@bitemegames 9 ай бұрын
I'll annoy Thomas and see if I can get him to make something, no promises though... -M
@krum3155
@krum3155 9 ай бұрын
I tried using the new input system a few years ago but I still prefer the old input system. The new input system just feels bloated and if I want to have a more complex input system I can just make a class that handles the input the way I want it to be. Nice video though with good explanations.
@oshakiegittens4887
@oshakiegittens4887 2 ай бұрын
Thanks but I rather code. This seems like something that's gonna be deprecated few years from now.
@der-Dritte
@der-Dritte Ай бұрын
The fuck you commenting here for?
Nuevo INPUT SYSTEM de Unity para NOOBS! (Parte 1 de 2)
26:14
Indierama
Рет қаралды 12 М.
Stats in Unity - How I do it!
8:49
One Wheel Studio
Рет қаралды 35 М.
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 7 МЛН
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 31 МЛН
Unity's New Input System:  The Definitive Guide
32:07
DmanGames
Рет қаралды 21 М.
The Revolution of Godot
7:01
anyDev
Рет қаралды 2 М.
How I would approach gamedev (if I had to start over)
18:34
BiteMe Games
Рет қаралды 64 М.
Using Unity with Git in 15 minutes
15:19
BiteMe Games
Рет қаралды 4 М.
The new MAZ X trailer - amazing!
23:40
808
Рет қаралды 287 М.
Unlocking The Power Of Unity's Scriptable Render Pipeline
21:05
Game Dev Guide
Рет қаралды 185 М.
ELE QUEBROU A TAÇA DE FUTEBOL
0:45
Matheus Kriwat
Рет қаралды 27 МЛН
Чудо жидкость - ломает физику 🤯
0:50
Vadym K Films
Рет қаралды 1,8 МЛН
big Baby 😭🍼 @andreyreactions
0:13
Andrey Grechka
Рет қаралды 5 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
0:19
Паша Осадчий
Рет қаралды 6 МЛН