Unity's NEW input system in 13 minutes

  Рет қаралды 11,351

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

Пікірлер: 26
@VinceColletti
@VinceColletti 4 ай бұрын
This video really helped me to understand how to use the new input system. Thank you!
@DavidEarle
@DavidEarle 6 ай бұрын
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!
@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!
@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
@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)
@MalikenGD
@MalikenGD 9 ай бұрын
Thanks for this
@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.
@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 9 ай бұрын
what did you do in that remaining 2 minutes ))
@channyh.221B
@channyh.221B 9 ай бұрын
@@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 9 ай бұрын
@@channyh.221B you must be time management guru then. machina ))
@squonkbot9487
@squonkbot9487 28 күн бұрын
I like how I cant add this video to a playlist like I can every other video
@bigmanontheinternet3824
@bigmanontheinternet3824 3 күн бұрын
its weird. I refreshed then it worked.
@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.
@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
@rafaelache8650
@rafaelache8650 11 күн бұрын
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?
Unity's New Input System:  The Definitive Guide
32:07
DmanGames
Рет қаралды 21 М.
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 28 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 17 МЛН
Заметили?
00:11
Double Bubble
Рет қаралды 3,5 МЛН
Новый Input System в Unity. С чем его едят?
23:55
ЯЮниор - Школа Разработки Игр
Рет қаралды 33 М.
How I would approach gamedev (if I had to start over)
18:34
BiteMe Games
Рет қаралды 67 М.
The 5 Stages of Game Development
4:57
Boutricks
Рет қаралды 2,3 М.
Use Unity's Input System Like a Pro
24:48
Paridot
Рет қаралды 24 М.
How to Rebind Your Controls in Unity (With Icons!) | Input System
20:29
Sasquatch B Studios
Рет қаралды 18 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 680 М.
Events & Delegates in Unity
13:20
Game Dev Beginner
Рет қаралды 47 М.
How to use Unity's New INPUT System EASILY
9:32
BMo
Рет қаралды 206 М.
best soccer saving money bank 💰
0:10
AU
Рет қаралды 18 МЛН
1 ружьë и 5 калибров #hunter #hunting #охотник #охота #hunt #gunshot #оружие #gun #shotgun
1:00
ТЕХНОЛОГИИ ОХОТЫ. Охота и оружие.
Рет қаралды 2,5 МЛН
Which one is the best? #katebrush #shorts
0:12
Kate Brush
Рет қаралды 14 МЛН