Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Button control type disappears from selection

Discussion in 'Input System' started by Disco_Doctor, Jul 9, 2022.

  1. Disco_Doctor

    Disco_Doctor

    Joined:
    Sep 29, 2019
    Posts:
    1
    I am not sure if this is a bug, or I am doing something wrong that gets me into this situation, but any time I create a new binding in my input action, I find the Button and Discrete Button, both of which are Control Types, disappearing from the dropdown selection.

    Steps to reproduce:
    1. Create a new Action Map.
    2. Create a new Action.
    3. Select Action Type -> Value, Control Type -> Button.
    4. Create a new empty binding.
    5. Go back to the Action, see that the Control Type becomes Any, and the Button and Discrete Button no longer appear in the drop down.

    Why does it happen? Is it the expected behaviour? As a beginner with the new input system I found this to be very confusing...

    Is it because Value, which continuously supplies values, opposed to a Button, which is triggered by button-like behaviour?