How to use Unity's New INPUT System EASILY

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 267

  • @gadgetboyplaysmc
    @gadgetboyplaysmc 2 года назад +90

    Lmao I never knew people could actually make short bite-sized tutorials and still have so much value. Jeez man, you raised my standards. Keep it up!

    • @BMoDev
      @BMoDev  2 года назад +7

      Appreciate that 🙏

    • @Andrew90046zero
      @Andrew90046zero 2 года назад +2

      @@BMoDev Do you end up cutting out a lot of "digressions"? Like if you want to get your video under a certain time, do you usually end up cutting out a lot of what you said in the recordings? So you can be concise and to-the-point with your videos.
      If so, how much is cut out? Like if it wasn't cut out, would the video be 20 minutes long instead?
      I ask because I also think you did a good job at packing a lot of info into 10 minutes. And I wish I could do the same :P

    • @BMoDev
      @BMoDev  2 года назад +7

      @@Andrew90046zero I keep probably 95% of what I record, I just trim whenever theres a long gap between 1 sentence to the next..
      Every video I try to get better at doing it in 1 take so I can edit faster haha

    • @Andrew90046zero
      @Andrew90046zero 2 года назад +2

      @@BMoDev Totally agree with that last bit. I want to be able to make simple and straightforward tutorials about topics that I don't see being talked about too much already on youtube, or add a new perspective to a common topic.
      But I don't want to overwhelm viewers with extra unnecesary info.

  • @rohangaikwad1
    @rohangaikwad1 2 года назад +153

    1:48 Correction: you can use either one or both input systems (old and new) together if you want to. To choose from which input system to use, go to Edit -> Project Settings -> Player -> Other settings -> Configuration -> Active Input Handling. From the drop-down, either select new or old or both.

    • @BMoDev
      @BMoDev  2 года назад +27

      Good call!

    • @superjoeprime
      @superjoeprime 2 года назад

      doesn't work for me

    • @oFurabio
      @oFurabio Год назад +23

      I KNOW THIS IS OLD, BUT I'M DOING A COLLEGE PROJECT THAT'S DUE IN 2 DAYS, I SWITCHED TO THE NEW INPUT SYSTEM AND HAD 0 IDEA OF HOW TO USE IT AND THOUGHT THAT I WAS GOING TO GO NO SLEEP FOR 2 DAYS TRYING TO LEARN IT BECAUSE I THOUGHT THAT WAS NO WAY OF RETURNING TO THE OLD ONE. I LOVE YOU, CAN I GIVE U A HUG?!

    • @TrickyMickTrucking
      @TrickyMickTrucking Год назад +4

      YOU ARE A LEGEND FOR THIS!!!!

    • @igorpolotai
      @igorpolotai Год назад

      OMG THANK YOU!!!!

  • @Neurobots
    @Neurobots 2 года назад +13

    Migrating from the old system was a many days gaddamn nightmare! So. Just pay clear attention, follow the instructions and even rewind, you can then experiment with other settings gradually. Don't confuse yourself with other tutorials, despite the quicker diction, this is the best of the best starting point for newbies with this new beast. Many thanks to the author!

    • @FictitiousCtrlGames
      @FictitiousCtrlGames Год назад +2

      Can you tell me what some of the problems are with using the default input system?

    • @guineagames1048
      @guineagames1048 Год назад

      @@FictitiousCtrlGames Sorry for the late reply, for singleplayer I don't see any issues, but for multiplayer I can confirm setting up more than 2 players is a PAIN in the old one.

  • @LaughingMan44
    @LaughingMan44 2 года назад +25

    That's way more complicated for someone starting out than the old way. A lot of arbitrary boiler plate code

    • @BMoDev
      @BMoDev  2 года назад +11

      Yeah you're absolutely right, its got a good chunk of overhead pains... but once its setup it can keep your code pretty clean. I still use the old system for most of my projects, but if I was making a commercial game I'd use the new system , personally.

    • @Andredy89
      @Andredy89 2 года назад +6

      Exactly. I'm creating my first _big_ game and after one sleepless night I decided to stick with the old input system.

    • @tramarthomas6105
      @tramarthomas6105 Год назад

      ​@@Andredy89 how your project has been going well

  • @jmw03j
    @jmw03j 2 года назад +7

    Just wanted to agree that this is the most concise and impactful video I've seen on this. Watched 6 or 7 others and even if they were 30m+ long they didn't provide as much true value as this one. Really solid work.

  • @LemonHeadYouTube
    @LemonHeadYouTube 2 года назад +4

    I watched and read at least 3 or 4 different tutorials on the new Input System, even Brackeys video. Yours explained it the best, as well as giving many other different ways of going about it. You kept it simple and to the point, Subbed!

  • @xXYannuschXx
    @xXYannuschXx Год назад +2

    You explained this way way way better and simpler than Unity's own tutorial and documentation. Unity says that there is now way to 1:1 implement reading axis like with the old input system, having you require to use callback when triggering the input action event.
    But you clearly show that there is a 1:1 solution....

  • @teckdomain5847
    @teckdomain5847 2 года назад +9

    Using Unities Input System Method #1: 1:13 --- 6:09
    Using Unities Input System Method #2: 6:09 --- 9:31
    This is for the people that already watch the video
    but need to go back to one of the methods. If you
    need more context, then just watch the full video.

  • @amyblack3164
    @amyblack3164 2 года назад +4

    I was having such a hard time with this because of different videos using different techniques and assuming I knew some things I didn't! This video was great, thank you so much!

  • @akidama
    @akidama 2 года назад +1

    I literally started exploring the new system last night and was hoping you'd post something. I feel like I manifested this video with my powerful psychic energy.

    • @BMoDev
      @BMoDev  2 года назад +1

      I sensed something was wrong

  • @Mackinstyle
    @Mackinstyle Год назад +2

    In my opinion, one of the best things about this tutorial is that you take the time to talk about the little roadblocks like "why can't I see this plugin listed?" or "Why is autocomplete not working for Input in my code editor?"

  • @leonard4
    @leonard4 Год назад +4

    Would love to see a tutorial from you on a rebinding system for the new input system, this video was a life saver!

  • @shackattack5018
    @shackattack5018 Год назад +3

    Just have to say this has to be one of the best and simplest explanations of the new system, you did the community a great service. I'm now subscribed!

  • @DataDrifterOFC
    @DataDrifterOFC 2 года назад +19

    This is short but in many ways more informative than many tutorials on the subject that go through all types of ways to use them, then explain why not to use them, only to then graze the preferred method.
    Thank you, this was extremely helpful!

  • @raydelto
    @raydelto 3 месяца назад

    Smooth ending! Thanks for this awesome content.

  • @ecchigamesstudios
    @ecchigamesstudios Год назад +6

    Finally someone who doesn't take 45min out my day to learn this, nice and simple. Thank yoU!

  • @dlgcreations2162
    @dlgcreations2162 2 года назад

    After watching what I thought was how to use the new system and getting rather upset that everything stopped working, I came across your video and in less than 10 minutes you clarified (simply) the error of my ways. Thanks !!

  • @Gyozamang
    @Gyozamang Год назад

    this is the most convoluted way for the new input system Ive seen from multiple tutorials

  • @giovani74
    @giovani74 3 месяца назад

    Your video is so helpful and easy to understand. I like how direct you are. Cheers

  • @jamescarlson
    @jamescarlson Год назад +1

    Hey Brendan! We went to school together; fancy running into you here! I didn't even know Unity had this new input system until I needed it today, so thank you for the great tutorial! Hope you are well!

    • @BMoDev
      @BMoDev  Год назад

      Hey haha, awesome seeing a comment from you! Yeah the input system is kinda wonky honestly and has a learning curve, but gets pretty handy once you figure it out. Same back to you, hope all is well!

  • @DARamosYT
    @DARamosYT 2 года назад +11

    Just came here after being overloaded by info on CodeMonkey's tutorial (ruclips.net/video/Yjee_e4fICc/видео.html)
    You really condensed the tutorial to what I wanted to know: how to access the inputs themselves for a project.
    CodeMonkey did a nice job going in depth, but at 40 minutes of video and awkwardly complicated segments; I was lost by the end of it and didn't know how to get his workflow to work for my project.
    Here you were straight to the point, and I applaud you for it.

  • @TheSteveTheDragon
    @TheSteveTheDragon 2 года назад +7

    Admittedly it uses the advanced programming concepts of delegates and events but nothing a little practice can't fix.

    • @BMoDev
      @BMoDev  2 года назад +1

      no doubt

  • @JustHaltGaming
    @JustHaltGaming 6 месяцев назад

    THANKYOUTHANKYOUTHANKYOOOUUU Only person in this jungle of convoluted tutorials that explained it :')

  • @stuff3862
    @stuff3862 Год назад +1

    Thanks unity for making something simple far more complicated.

  • @strategystuff5080
    @strategystuff5080 4 месяца назад

    Thanks man, I used the new input system before, but forgot most of it. It is so hidden (like many useful things in unity)
    It is really nice to use, well worth it (also Unities own documentation is awful for most things, they could have explained everything in a few paragraphs but instead they are like "download our example lol")

  • @mandamoon9149
    @mandamoon9149 2 года назад +4

    This vid is swag daddy, sheeshhh

  • @tottijoao
    @tottijoao Год назад

    Thank you! I watched like over 9000 videos and just couldn't figure it out but you made it simple and effective!

  • @belegrade
    @belegrade 5 месяцев назад

    Still the best input system tutorial on youtube

  • @MaximilianPs
    @MaximilianPs 4 месяца назад

    I'm in late but that's a great tutorial and I hope you don't stop doing it 😁

  • @cihadturhan
    @cihadturhan Год назад +1

    Thanks for sharing. Although you explained it short and understandable manner, new input system is way more complicated and I’m afraid to make transition to new system.
    Just a simple tip: instead of enabling/disabling, you can make gameobjects to child to other gameobjects so it will be disabled automatically

  • @studiovulcan4411
    @studiovulcan4411 2 года назад +1

    I wish the parts where you "updated" the code were redone so I could understand what was going on. As someone starting fresh, i didn't have this code to "update" ssooooo, it made it harder to follow along than it needed to be. :P

  • @BoryslavMalishevskyi-j2x
    @BoryslavMalishevskyi-j2x 3 месяца назад

    Great video:) simple, short and easy to understand, well done!

  • @TegridyMadeGames
    @TegridyMadeGames 2 года назад +1

    YOU ARE THE BEST!

  • @petermoss7387
    @petermoss7387 2 года назад +1

    Woah clicking the subscribed button worked! I’ll be using the generate script version from now on ty

  • @jakeduncan2721
    @jakeduncan2721 2 года назад +2

    Hi, do you have a moment to talk about our lord and savior BMo?
    -
    -
    -
    All hail BMo
    -
    -
    -
    Great to see another tutorial for the people, well done!

  • @ShellSharpInc.
    @ShellSharpInc. 8 месяцев назад

    Thank you for this, every other video I found made everything seem overly complicated just to detect input.

  • @Radspidey
    @Radspidey Год назад +1

    IS IT GONNA BE CREEPY
    IF I SAY I LOVE YOU SO MUCH 😭
    BECAUSE I WATCHED OTHER PEOPLE AND THEY WERE CONFUSING
    IS ONLY YOUR WAY THAT WORKED FOR ME
    THANKS SO MUCH, I REALLY MEAN IT 😭

  • @Un4GivNX
    @Un4GivNX Год назад

    I just wasted 3 days trying to use the new input system. I think it is going the right way but i stumbled on so many problems that i gave up and fallback on the good old reliable Rewired system. For 45$, it took me a day and everything is up and running.

  • @eileeng2492
    @eileeng2492 2 года назад +1

    Wow exceptional video BMO!
    Excellent

    • @BMoDev
      @BMoDev  2 года назад

      appreciate it!

  • @ars-1
    @ars-1 Год назад

    I like the last part where we keep clicking and subscribe your channel

  • @GrowthFuelTV
    @GrowthFuelTV 2 года назад

    Maybe the best tutorial above the imput system, easy to understand, thanks matte, and i have subs the channel because that end line on the video :D

  • @ericzwirnmann8151
    @ericzwirnmann8151 8 месяцев назад

    Thanks, the Input System is much easier to understand now. Just need to work on the gritty details on how to setup and use the Input Actions (dialog)

    • @BMoDev
      @BMoDev  8 месяцев назад

      Definitely takes some getting used to!

  • @GameOver71910
    @GameOver71910 Год назад

    Thanks dude this was driving me up the wall

  • @saffronomicon
    @saffronomicon 2 года назад

    Just what I needed to continue, good examples and short thx!

  • @Stompin40
    @Stompin40 2 года назад +2

    This was really really helpful. Thank you!

  • @vincenzusgaming
    @vincenzusgaming 2 года назад

    This is WAYYY better than the one Unity has in their channel! Its very simple and easy to learn!

  • @XpresConsole
    @XpresConsole 2 года назад

    I had to try this new thing called clicking on subscribe button, and it worked

  • @monkeytheory4718
    @monkeytheory4718 Год назад

    ok, I have watched multiple input action videos and this is the one I was able to understand

  • @MishimaFanatic
    @MishimaFanatic Год назад

    Thank you, one of the best videos on how to implement the NIS, help me a lot with a homework

  • @univexnate8013
    @univexnate8013 5 месяцев назад

    Thanks for that video, tried to fixed a damn menu with it, and it works now XD

  • @jeffersongouveia4581
    @jeffersongouveia4581 2 года назад +10

    Very good tutorial man! Simple and straight to the point! Thank you! Subscribed! 🙂

    • @BMoDev
      @BMoDev  2 года назад +1

      Thanks, appreciate it!

  • @renosnicolaou8417
    @renosnicolaou8417 Год назад

    this is what I looked for to understand. Thanks bro

  • @Norbingel
    @Norbingel 2 года назад

    That last tip blew my mind!

  • @madpenguin58
    @madpenguin58 2 года назад +5

    First View! First Comment! Love your videos!

    • @BMoDev
      @BMoDev  2 года назад

      Appreciate ya 🙏

  • @AmazinglyStrangeMedia
    @AmazinglyStrangeMedia Год назад

    Simple and Brilliant, Loved this video!

  • @GeenSama
    @GeenSama 7 месяцев назад

    I like the first part most :) thanks

  • @nsr43d
    @nsr43d Год назад

    You are highly technical. Very nicely explain. Great! tutorial i found🙂 Thank you!!

  • @lemuelmetrillo271
    @lemuelmetrillo271 Год назад

    ITS REALLY WORKED LOL THANK YOU DUDE

  • @boomerangaming
    @boomerangaming 2 года назад

    Thank you so much for letting me know to generate csproj file for new input system.

  • @JM-go6zx
    @JM-go6zx Год назад

    Thank you for your video. It has been very helpful for me to understand this system ✌

  • @사이버망령-t4b
    @사이버망령-t4b 2 года назад

    It's best inputSystem tutorial for beginner.. so helpful Thanks a lot!!

  • @Radek_M.
    @Radek_M. 2 года назад +1

    Very helpful video :)

  • @ndkhanhs_m01
    @ndkhanhs_m01 2 года назад

    i love u so much !! you helped me end 15 hours stress because of this

  • @lovareths569
    @lovareths569 Год назад

    i'm a bit late but that ending is epic XD

  • @MattRaffel
    @MattRaffel Год назад

    Also, wanted to say thank you for a to the point, quick tutorial.

  • @PaziaTV
    @PaziaTV Год назад

    Great video, thanks!

  • @elsyndur4415
    @elsyndur4415 2 года назад +2

    Do you know why it's telling me, "The type or namespace name 'PlayerInputActions' could not be found," even though I generated the C# class? Generating the class solved this issue for me once before, but, now, it won't, for some reason.

    • @aw1lt
      @aw1lt 2 года назад

      make sure you pressed apply.

  • @Soturi_the_paladin
    @Soturi_the_paladin 2 года назад

    i subbed because of the clicking joke at the end. that was pretty funny

  • @ethanogle698
    @ethanogle698 Год назад

    From the ashes of Brackeys a Pheonix rises.
    Edit: insta-subscribed

  • @timvandeneng4724
    @timvandeneng4724 7 месяцев назад

    understanding the new unity input system gave me a f*cking stroke, but your video was pretty clear. It just sucks that the new system uses so many lines of code compared to the old one lol

  • @T3QN1Q
    @T3QN1Q 2 года назад +3

    Sheeeesh teach me more pog daddy

    • @BMoDev
      @BMoDev  2 года назад

      future tutorials will be zooted

  • @tilenbicanic6172
    @tilenbicanic6172 Год назад

    This video was really helpful. Thx!

  • @gwailoRS
    @gwailoRS Год назад

    Perfect instruction video for the new input system. The CTA was also on point you got a sub out of me thanks!

  • @hashgames8613
    @hashgames8613 Год назад

    if your getting a error check you player controls to make sure its in a 2d vector

  • @piotrkostecki7373
    @piotrkostecki7373 11 месяцев назад

    You are a GIGACHAD!

  • @zafarabdullah-xp6et
    @zafarabdullah-xp6et Год назад

    finally after 4-5 years

  • @gazuloo6395
    @gazuloo6395 2 года назад

    This is really useful and easy to understand!

  • @smitj5404
    @smitj5404 2 года назад

    much love to your work sir!!! ❤❤❤

  • @2401M3NDIC4N7BI45
    @2401M3NDIC4N7BI45 Год назад

    slick call to subscribe, you earned it

  • @cavemohn3080
    @cavemohn3080 2 года назад

    i already have the newest unity engine input system but whenever i try and open a c# script it just goes to notes and the script written down there

  • @dragonscalesvr
    @dragonscalesvr 2 года назад +1

    Is there a way to just work with the interface they provide or you actually have to go in and code it to use it?

  • @平震宇
    @平震宇 Год назад

    Great video, the menu works great

  • @hasanduman8559
    @hasanduman8559 Год назад

    Tysm, did everything as described

  • @attenurmi936
    @attenurmi936 2 года назад

    Damn... almost forgot to click that subscribe button there...

  • @Ilnur-v6z
    @Ilnur-v6z Год назад

    I have a question. What do I need to do if I don't want the player to be able to keep moving by holding the button? Kind of like a flap in Flappy Bird.

  • @Feiee
    @Feiee Год назад

    Can you explain about the mobile movement. So we can use button in order to move.

  • @Just_Poncho
    @Just_Poncho 2 года назад +2

    2:30

  • @luckypretzel
    @luckypretzel Год назад

    Quite a good tutorial. Thank you.

  • @josefroylan6570
    @josefroylan6570 2 месяца назад

    THIS IS THE BEST !!!

  • @Megabyte1
    @Megabyte1 9 месяцев назад

    Thank you!

  • @imran7889
    @imran7889 2 года назад

    TNX BRO ITS LIFETIME LOL TNX TNX TNX❤️

  • @disruptive_innovator
    @disruptive_innovator 2 года назад +1

    short useful video? ok subbing.

  • @diego-vw2in
    @diego-vw2in Год назад

    Using old Input, i have:
    KeyboardShortcut keyboardShortcut = new KeyboardShortcut(KeyCode.LeftAlt, KeyCode.Keypad4));
    And the command to check keys pressed:
    if (keyboardShortcut.Value.IsDown())
    {
    // keys pressed!
    }
    But how i use this same code with the New Input, please?
    I can not make it compatible.
    Thanks!!!!

  • @metapod
    @metapod 2 года назад +1

    If I want to make a lot of controls that are like "If X button is held while Y is pressed" and "If Z is pressed but Q is not held" is it better to use the old input system since it lends itself to if statements more naturally? Or should I still aim to use the new system?

    • @dumonyu5027
      @dumonyu5027 2 года назад

      I'm a noob still but I think the new system would be better for that case. There are "button press with single modifier" and "button press with two modifiers" options built into bindings. Someone more experienced may be able to chime in and clarify tho.

  • @filipexavier8750
    @filipexavier8750 Год назад

    How do I make it so that when I click play the Play mode window expands and the console appears in the corner at 9:02 in the video?

  • @tPlayerioT
    @tPlayerioT Год назад

    what theme are you using? it looks so good to my eyes

  • @hristijangoruloski5517
    @hristijangoruloski5517 2 года назад

    Thank you, it means a lot:)

  • @stonegolemstudios
    @stonegolemstudios Год назад

    Noob here. When renaming or changing bindings and actions, be sure to either save or click the auto save button. Over here like... why is this not working.

  • @tokyowarfare6729
    @tokyowarfare6729 3 месяца назад +1

    absolute comtraption compared to the built in one. Hopefully I manage to wrap my mind around this thing.

  • @LuciusFilmex
    @LuciusFilmex 8 месяцев назад

    The tutorial is appreciated but I believe neither the generated C# script, nor the window with pre-made actions were properly explained as to their purpose.
    Furthermore, I still don't really understand what this system does better than the old one.