Closed brainwipe closed 4 years ago
Activating the input field will prompt the on-screen keyboard on mobile devices each time the log window is shown, which may not be preferable. We can easily fix this issue by wrapping this code in #if UNITY_EDITOR || UNITY_STANDALONE
and #endif
directives; still, I'm not sure how this will behave on laptops with touchscreens. I think it is better to keep things as is; developers may modify the code as you suggested if necessary.
Cool, that makes sense.
In first person, the cursor mode is locked:
Cursor.lockState = CursorLockMode.Locked
So the input field cannot be clicked on to gain focus.
One solution is to force the focus when the log window is shown:
If you're happy with this fix, I'll raise a PR.
Thanks for a great asset!