Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

What settings for a press and hold with variable hold time?

Discussion in 'Input System' started by RyanH20, Jan 31, 2021.

  1. RyanH20


    Jun 8, 2020
    I'm trying to create a game mechanic where there's like a pressure gauge, if you press and hold it fills up, if you release, the pressure starts to decay but I can't figure out what settings to use on the action. Hold only fires after the button has been pressed for a certain length of time and then again after its released.
    Firstly, an anyone tell me how to do what I'm trying to do and secondly, is there a comprehensive guide to what all these settings do/mean?