How to Control Your Menu with Keyboard/Gamepad | Unity Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 41

  • @NotNahtan
    @NotNahtan ปีที่แล้ว +6

    i love these tutorial vids, at least one of them will always be some random area i didnt give enough attention
    thanks for these dude, good luck on the game

  • @CombatWhale
    @CombatWhale 25 วันที่ผ่านมา

    Great vid with great info, thank you man!

  • @brunotorrao
    @brunotorrao ปีที่แล้ว +1

    Awesome tutorial man, the notification came right when I was going to start creating the pause menu for my game

  • @tomkc516
    @tomkc516 ปีที่แล้ว +2

    Would love to see a follow up video on key rebinding with the new input system.

  • @MegaCuerdas
    @MegaCuerdas 8 หลายเดือนก่อน

    Dude you explain so well, and your code is just beutiful hahahaha

  • @bubug108
    @bubug108 2 หลายเดือนก่อน

    Awesome Tutorial! Thank you sooo much!

  • @kturnt584
    @kturnt584 9 หลายเดือนก่อน

    Great Tutorial! Very well explained

  • @BBFTW36
    @BBFTW36 4 หลายเดือนก่อน

    Thank you so much. I watched this in 18.June.2024 and you can still use it.

  • @karandhir2411
    @karandhir2411 2 หลายเดือนก่อน

    Thank you so much, this was really good

  • @guricomfotodeanime9704
    @guricomfotodeanime9704 8 หลายเดือนก่อน +1

    my code is exactly like the one at 4:13, but I keep getting this compiler error:
    "Assets\Scripts\Managers\GameInput.cs(73,39): error CS0428: Cannot convert method group 'WasReleasedThisFrame' to non-delegate type 'bool'. Did you intend to invoke the method?"
    EDIT: I fixed it, turns out I was missing the brackets in 'WasReleasedThisFrame()', lol

  • @AstralNostalgia
    @AstralNostalgia 4 หลายเดือนก่อน

    the new input system use UnityEvents also... more expensive but more straigh foward... are you using pure Csharp class to generat the Action ? and the AtionMap?I think the new intpu system can be anighter for UI , without no planning.

  • @szyslay
    @szyslay 3 หลายเดือนก่อน

    Astounding!!!! ^^ thank you so much!

  • @DannyDeer
    @DannyDeer ปีที่แล้ว

    Literally just what I needed.

  • @inunekonanita
    @inunekonanita ปีที่แล้ว

    Thank you for this, super quick and helpful!

  • @1984ordep
    @1984ordep 7 หลายเดือนก่อน

    Great tutorial, had a question. With that menu system in place, how would you code it so that by pressing lets say the start button on the gamepad it will trigger the pause menu?

  • @TechHamlin
    @TechHamlin 2 หลายเดือนก่อน

    So good stuff!

  • @icosium6301
    @icosium6301 ปีที่แล้ว +1

    You just come in your time , tnx

  • @Benji23245
    @Benji23245 10 หลายเดือนก่อน

    Great video ! Thanks !
    I'm having a question though. I'm using Rewired, and I'd like to be able to navigate through my buttons not only with the joystick but with the D-Pad too. How can I do that ?

  • @TryHardStudio
    @TryHardStudio 11 หลายเดือนก่อน

    Amazing! Thanks a lot!

  • @danielhammond2212
    @danielhammond2212 9 หลายเดือนก่อน

    Super useful thank you

  • @MrJent007
    @MrJent007 10 หลายเดือนก่อน

    Thanks for that great tutorial !
    At the moment, to click on a button with the Gamepad I need to press the south button.
    But I would like to change that to the east button.
    How do I do that ?

  • @InstanceJeff
    @InstanceJeff ปีที่แล้ว

    Great tutorial

  • @julius9055
    @julius9055 2 หลายเดือนก่อน

    absolutely stonking video

  • @midniteoilsoftware
    @midniteoilsoftware ปีที่แล้ว +1

    Another home run!

  • @harimrlocal
    @harimrlocal ปีที่แล้ว

    when the controller highlighting the button if i bring mouse to another button its also highlighted how to fix this

  • @stopmotionman9137
    @stopmotionman9137 7 หลายเดือนก่อน

    Getting controller input just fine and being able to open the menu on controller, keyboard menu opening is not working at all for some reason, works perfect on controller and not at all on keyboard, any advice?

    • @MythoCondria
      @MythoCondria 25 วันที่ผ่านมา

      the opposite is happening to me rn...did you fix it?

  • @lost50
    @lost50 ปีที่แล้ว

    I gotta learn Unity. I'm currently making a game in SpriteKit and there's nothing that I know of built in like this. My menu system is completely custom made.

  • @BADGRAPHIX
    @BADGRAPHIX ปีที่แล้ว

    Something about the InputManager wasn't working on my end. For one, it didn't seem to recognize the function WasPressedThisFrame(). When I tried alternatives like using .triggered, it still didn't seem to pick up on the input. I'm guessing either my input manager package is configured incorrectly or I configured the particular input wrong (it was just the E key on the keyboard)

    • @BADGRAPHIX
      @BADGRAPHIX ปีที่แล้ว

      I found it why it wasn't picking up on my input. At about 3:00, you add the different control schemes. I didn't add anything to the List in this window (accessed by pressing the + button)

    • @hi_its_stephen
      @hi_its_stephen ปีที่แล้ว

      @BADGRAPHIX Dang it's not detecting my input but I did add a control scheme

    • @TravisWulff
      @TravisWulff 10 หลายเดือนก่อน

      ​@@hi_its_stephen
      For me I switched from the old input to the new input as part of this tutorial. Under Edit > Project Settings > Player > Input Handling I had "Both" but needed to switch to just the new Input System

  • @firesickle
    @firesickle 4 หลายเดือนก่อน

    Thanks Boss :)

  • @kucukgolem
    @kucukgolem ปีที่แล้ว +3

    I am happy cuz I have a working cool menu now, but I am also sad because he coded like 12 different things that I have no clue on. Felt like a mf'ing scribe instead of developer after this vid

  • @TheRunthis
    @TheRunthis ปีที่แล้ว

    This is obviously a great tutorial but -- If we are being honest, Unity love to pretend like you aren't creating a video game by requiring this much setup to literally interact with a single menu.

  • @midniteoilsoftware
    @midniteoilsoftware ปีที่แล้ว

    second

  • @Coco-gg5vp
    @Coco-gg5vp ปีที่แล้ว

    First