Search Unity

Question Input processing priority?

Discussion in 'Input System' started by alexanderkudryavy, Mar 28, 2023.

  1. alexanderkudryavy

    alexanderkudryavy

    Joined:
    Sep 20, 2019
    Posts:
    13
    Hi! I'm trying to solve the problem, please see the screenshot below

    upload_2023-3-28_16-40-37.png


    The yellow arrows indicate the input that works, despite the fact that below I have an input using the shift key, in other words, Skill 1 and Skill 2 are executed in any case, regardless of whether I press the shift or not, but I need it to be executed when I press the shift Skill 3 and Skill 4, not Skill 1 and Skill 2
    How can I achieve this? Can I somehow check in Skill 1 and Skill 2 that the shift button is not pressed?

    Thank you!