get input slowly.

i have Var Input; which changes to 1 when i click right arrow and to -1 when i click left arrow, So it changes immediately when i click it and i want to change it from 0 to 1 (or -1) during for example 3 seconds. pls help…

In InputManager (Edit / Project Settings / Input) you can tweak values such as gravity and sensitivity for that effect.