r/unity • u/Silent_Reputation596 • 1d ago
Newbie Question New Input System Help
I cannot wrap my head around unity's new input system: I've watched loads of tutorials, I've read the docs, I've read peoples blogs teaching the system. I CANNOT understand it at all. Any ideas?
Edit: This has been solved!
3
Upvotes
2
u/Soraphis 1d ago
You can use it like you used the old. Sure that's not intended, but possible.
Inteded is the even driven way. You subscribe to an action and a function is called when that action happens.
What is your setup, what do you try to do, what did not work? "I don't understand" is a bit vague.
1
u/JakSilver00 1d ago
So I typically start with templates or assets when I'm learning something new to see how other people are doing it. Luckily, Unity provides these things for you. They have a starter first and third person asset. And once you start understanding the basics, you can then add custom controls and bindings and so forth.
1
u/GigglyGuineapig 1d ago
It's another tutorial and a video, but maybe my walk though will help? Sometimes it takes a few more teachers to understand a concept and I've gotten a lot of good feedback about my approach. I show how I am using a relay system with a scriptable object for it and how other scripts are then accessing those, for example for movement.Â
https://youtu.be/MaulSHrhA8I?is=L3oFp0zerYVF5X2k
1
u/bigmonmulgrew 10h ago
The strength of the new input system is its flexibility.
The weakness of the new input system is it's flexibility.
I remember when I first picked it up. I didn't realise there's so many ways to do the same thing. It means if you do two tutorials they will likely be different and you end up confused and thinking you are missing something because you don't see how the two are connected.
Try searching for tutorials made within the last 12 months. You will find they have matured a lot. Also try the ones on Unity's own learning site.
If you are following one and get stuck come back here posting which tutorial you are following and your code so we can give more specific help and maybe clarify some of the sticking points