- Home /
InputField Weird behaviour
I'm just creating a small chat system and found some strange behaviour with the InputField. I'm still looking for a solution so anything is appreciated.
Issue
- When the InputField is Selected programmaticly with the code below.
It's not possible to type untill either i wait and press "a" nothing else affects this, or Press "spacebar" and i can type normally or when "enter" is pressed it will also activate but this is quiet useless since this is the way to send the message.
public InputField inputText;
EventSystem.current.SetSelectedGameObject(inputText.gameObject);
inputText.ActivateInputField();
inputText.Select();
Your answer
Follow this Question
Related Questions
How to make floating mobile keyboard in mobile game ? 0 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
EventSystem not detecting all UI elements 1 Answer
Can I change the input "submit" and "cancel" button of an eventsystem from a script? 0 Answers
World space GUI interaction with just a crosshair and a keyboard 0 Answers