Do something by pressing key two time.

Hi all, i wants to perform a task while press key[Input.GetKey(…)…] two time. Please can any one share idea about this. Thanks.

add a timer to your button press, then if the button is pressed again within the time limit then your other action is carried out.