Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question HELP - using new Input System with old code.

Discussion in 'Input System' started by LordOfKspModding, Apr 25, 2021.

  1. LordOfKspModding

    LordOfKspModding

    Joined:
    Dec 8, 2016
    Posts:
    8
    I have been looking through documentation for over an hour trying to figure out how the hell to do this:
    upload_2021-4-25_12-45-22.png
    In the new input system. I've been searching and I can't figure out a way to get this to work. That is, to read input on crouch on a given frame as a boolean. All I can find is to how to get buttons to trigger a void, which is not what I want since I already wrote my entire movement system in Update() before porting it over to the new input system and I'm not about to rewrite the entire thing. PLEASE help. I hate this stupid new input system