Detecting if is currently entering text on any component.
I want to check if player is currently entering text on any component in scene (InputField). Is there any global flag "IsTyping" or sth like that?
if (Input.any$$anonymous$$ey)
is basically what you are asking for except that it also detects mouse buttons and isn't limited just to character keys. However it probably is not the solution you want for this problem but it can be useful for putting in update so variables are only checked on input. You may want check if the text string has changed on input but I'm sure there probably is a better way that I can't think of...
Input.any$$anonymous$$ey is not good for me, because I want to know if its someone is "Input.any$$anonymous$$ey" specifically in InputField.
Your answer
Follow this Question
Related Questions
Control UI Input Field entirely with code? 1 Answer
I need help with input field ui. 0 Answers
Check if EventSystem is in InputField 1 Answer
Handling Multiple U.I. Input Fields 0 Answers
Convert Message to Text Field Input 0 Answers