New Input System in Unity 2020 - Player Input Component

preview_player
Показать описание
In this video, we will be going over the new Player Input Component that comes with the new Input system for Unity. This component is used to bridge that gap between the input action asset and you c# scripts.

As you follow along with this Unity game tutorial series you will learn how to become a game developer, game designer, and game programmer.

News: It is very sad to see a fellow Unity YouTuber say goodbye. Best of luck to Brackeys and his future endeavors. From all of us here at InfoGamerHub, Thank you for your tutorials.

#UnityTips #gamedev #Unity #UnityInput

SUBSCRIBE for regular Video Game making videos:
Рекомендации по теме
Комментарии
Автор

You might want to include, anywhere in the video, that you need to import the InputSystem class into the script by adding "using UnityEngine.InputSystem;" at the top of it. If this is meant to be an introduction for people starting out in unity, or programming in general, they might not get the hint from the tooltip for the InputSystem.CallbackContext class identifier.

TheViperZed
Автор

Thanks for sharing your knowledge on the new input system. However, I got very confused when you were able to control the avatar. I thought I had missed something and kept scrubbing through the video for a long time before I realized that you will do the movement programming in the next video. It would be more clear if you just showed us your debug messages.

tommyholmberg
Автор

I'm pretty new to Unity so correct me if I'm wrong. I now have to setup actions and add more components to objects just for input? For example doors, before I had a simple box collider with a script attached that checked for a key to be pressed in order to enter with a single Input.GetKeyDown. Now all of the doors have to PlayerInput component and mapped to actions? I find the new system to be needlessly complex.

fullcyber
Автор

The new system feels very odd. I'm sure there are some benefits later on, but I feel like it's much harder to set up

falxie_
Автор

Very underrated indeed, You deserve more subscribers, Count me in!

MJcb
Автор

Hmmm, missing something here. How did you then read the values in another script and from here do something

waynehawkins
Автор

So how do you get it to switch values mid-performance. Like when I use this method, if I hold "w" to move forward, then hold "d" to move right, I continue only moving forward. Joystick works as expected.

I was hoping the method where people autogenerate a script would fix that, but I can't get that to function either.

Edit: Maybe a better way to ask is "how do you get the input value to update continuously using this method?"

donniedorko
Автор

How the FCK I JUMP IN A RIGIBODY WITH THIS INPUT IM LOSING MY MIND

Mikelica
Автор

this video is actually only 4 minutes long. he spends 2 minutes begging for money. don't watch this video, it is a waste of your time.

noahwilliams