Search Unity

"Standalone Input Module" -> "Input Actions Per Second" has no effect.

Discussion in 'Input System' started by D12294, Jul 14, 2022.

  1. D12294

    D12294

    Joined:
    Oct 6, 2020
    Posts:
    81
    Hello everyone,

    currently I'm working on an UI only project and I have UI transitions of about 0.33 seconds. So my idea is to accept only every 0.33 seconds an input event to avoid managing the Buttons and CanvasGroup Interactable state. I thought this is controllable in the Standalone Input Module over Input Actions Per Second and Repeat Delay. I tried with following values

    Input Actions Per Second / Repeat Delay
    0.1 / 0.1
    0.1 / 100
    100 / 0.1
    100 / 100

    The project uses Unity 2021.3.5.f1 and it always the same result. Every mouse click is accepted independent of the values. So my question is if it is possible to controll the amount of accepted mouseclicks like i want over the Standalone Input Module or have I set Buttons and CanvasGroups Interactable state to prevent Buttons beeing clicked while UI transitions?

    Thank and greetings
    David