Easy Mode: Unity's New Input System

preview_player
Показать описание
Sometimes Unity's new input system can feel too complex. With "easy mode" you can quickly implement player input much the same way the old input system does. Keyboard, mouse, or gamepad it's all easy to add. The same functionality as GetKey, GetKeyDown, and GetKeyUp.

Support the Channel!
**********************

Video Gear List (Amazon Affiliate)
***********************************

Other Links
************

Timestamps
*************
0:00 Intro

#GameDevelopment #Unity3D #indiedeveloper
Рекомендации по теме
Комментарии
Автор

Thanks, I wasn't aware of this feature!

carpations
Автор

Yes, you can use it like this, but please, please, please, please, PLEASE take some time to learn the ins and outs of how to use the input system the intended way! There's a learning curve, yes, but its very powerful and will help you improve your programming abilities. I think the problem comes down to people not understanding how delegates work. Once you understand that, the rest falls into place, at least in my experience.

ToastaToast
Автор

I'm new to Unity programming but not new to software programming and I can already see the huge benefits in preferring the new input system for better scalability, maintainability, and testability, as well as encourage more solid OOP.

As with any system, hardest part is learning it. It just gets easier and faster to implement the next time around.

EddieVillamor
Автор

Hey there, I'd liike to recommend you talk about the animators state machine and how you could use it even if your game doesn't have animations, so you have a built in state machine which makes switching to the state pattern easy to do

forbiddenbox
Автор

Man... I knew this feature 2 years late

kerduslegend
Автор

But isnt one of the nice feature of the input system is how its able to support multiple input device binded to jz one binding.

Where u dont need to care about the input device.

Kudoshi
Автор

All I need is a wall-run tutorial for the input system

ItzLilAce
Автор

Does this also work with the Event system like you use with the Input System cos once you learn that, it's super easy and fantastic, I'm glad I took time learning it last year.

MaximumSpice
Автор

if you didint know you can replace "Keyboard.current.escapekey" with your input action name

e.g

paperplays
Автор

Thanks! I'm planning to switch to New Input System, is there any downsides of using this method in long term?

kueyz
Автор

This defeats the entire purpose of the new input system, which is event-based.
If you want to stick with this style (checking for keys in update) stick with the old one.

saito
Автор

This is just pointless.. You might as well use the old input manager if this is how you're going to do it.

InfinityInteractive