Question by
CaptainCroco · Jan 12, 2018 at 02:15 PM ·
c#unity 5
One Button Game project : two types of input on the same button
Hi guys ! I have to make a One Button Game as an assignment for school and there are two actions that you can do :
You can hold the button to do the first one (So I used an Input.GetKey)
You can double tap the same button quickly to do the second one (I figured I should use an Input.GetKeyDown)
So I did, and the one works well, but I don't know how to get a quick input for the second one without interfering with the first one
Comment