- Home /
How do you create a touch button that needs to be held down?
Hello!
I'm trying to create a touch button with the new UI that requires the user to hold it for two seconds before it does something. I know there is Input.GetKey, but I've had no luck finding an example of how to apply it to the button scripting.
I'm using Javascript. Any help would be appreciated!
Comment
Your answer
Follow this Question
Related Questions
Unity UI Button 1 Answer
How To Change Color Of Text On UI When It's Selected | Unity 4.6 3 Answers
UI Button deletes Function on start 1 Answer
How do I check if a UI button is pressed within an if statement? 1 Answer
While mouse is pressed and moved to a button, button should be pressed as well 0 Answers