- Home /
keyboard event "none" works as "enter"
The following code will detect whenever the user press the return&/enter key on his/her keyboard but I don't understand how it can detect that it's actually return/enter and not anything else.
Event.current.Equals(Event.KeyboardEvent("none"))
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613114819im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Enter not being called 2 Answers
OnPointerDown vs OnMouseDown 1 Answer
Can I create and queue an Event? 0 Answers
Enter and Return in TextField in Mac Not Working 1 Answer
Function works too fast on build. 1 Answer