Controlling Cross-Platform Characters with Unity Input System | Tutorial

preview_player
Показать описание
In this video, we are showing you how to create a cross-platform character controller using Unity's Input System!

Download this project here:

For more information about the Input System - click here!

Chapters:
00:00 Intro
00:29 Input Manager
01:10 Installing the package
01:34 Using the package
04:51 Player Input
05:39 Code
06:56 Gamepad
08:35 Input debugger
09:10 Mobile Support

Unity version used: 2020.1
Рекомендации по теме
Комментарии
Автор

Using the Input manager component with those callback methods was what I found the most approchable for beginners

jayjoonprod
Автор

One important note :

You need to set event functions IN the prefab and not in the prefabe instance of the scene.
Otherwise it won't function proporely.

IJaba
Автор

Every new Unity Video I realize my Game is missing something 😂😂😂 Thanks!!

dartutorials
Автор

2:17 It would've really helped if you'd explained that you need to first add "public PlayerInput playerInput;" *and* get the component in order to make this functionality work. I was so confused.

AJMarraffa
Автор

This is such a useful feature and shouldn't be so hidden away!

DevDunkStudio
Автор

Glad to see I use it properly!
Documentation can be a bit vague

DevDunkStudio
Автор

Touch controls doesn’t seem to be working/included in the project

tthemax
Автор

Amazing tutorial I've been trying to make it work for so long and after watching this everything worked perfectly

youssefkassem
Автор

Thanks unity for providing your wisdom. I'm trying this for 2 days and now I got the trick to do this.. 😇🙏🏻

Aye_Sid
Автор

Thank you Unity for this useful input system

marcuscheong
Автор

1. Can player remap the buttons?
2. How would you implement input button glyph visualization that updates when input method changes?

Haapavuo
Автор

Here is some code they used in the video

Public void value)
{
Vector2inputMovement = value.ReadValue<Vector2>();
rawInputMovement = new Vector3(inputMovement.x, 0, inputMovement.y);
}

Tikode
Автор

Thanks. This makes it easier to understand the new input system, I usually use the old input manager

tryan
Автор

Ok, at 5:23 you open up the drop down to show the Events in the Player Input, what I missed was a few seconds later at 5:25 was when you clicked that second drop down to expose the Player Controls... this cost me hours of trying to figure out the other event boxes wouldn't accept my Input methods from my script and was super frustrating. Maybe you should put up an annotation or something?

Disthron
Автор

So, when the old Unity Input System will be deprecated?

MakakaOrg
Автор

I've selected my playercontroller script, but I cannot set any method. Sad. This is the fourth tutorial that fails me.

DerAua
Автор

This was very helpful I am developing a test game and this will be a good start thanks unity

AAAMAQ
Автор

It might be just me but it feels more complicated than necessary. But still good job overall thank you

burakcimenli
Автор

I don't get anything in the Inspector when trying to hook up the events. Everything in my class is public but none of them are listed in the Inspector to be assigned.

halfbakedproductions
Автор

It says "rawInputMovement does not exist in the current context"
How can I fix this?

polyknap
welcome to shbcf.ru