Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

[new Input system] lists actions and compare them to current input

Discussion in 'Input System' started by joanCortes, Feb 8, 2021.

  1. joanCortes


    Dec 26, 2020
    I have a scriptable object called Move that had a list with keycodes (for example to make a Hadouken) easy to use and compare with the current input made it with the old system, but with the new input system I don't know how to make a list of actions (actions that are in my Input Action Asset not new ones) and compare that with the current inputs (and also I do not have any idea how to make buffering inputs like the last input repeats 3 frames).

    I already tried and not worked (InputMa is my InputActionAsset generated class):




    -InputActionReferences[] this seems the correct option, but I don't know how to get the reference from the current input.