private InputField chatInput;
private bool disableInputs;
void Awake()
{
chatInput = GameObject.Find("ChatInputField").GetComponent<InputField>();
}
void Update()
{
if (chatInput.isFocused)
{
disableInputs = true;
}
else
{
disableInputs = false;
}
}
형님들...
인풋필드에 한글 쓸때 disableInputs가 true가 됩니다.
근데 영어를 쓸떄는 disableInputs가 false가 됩니다 ㅠㅠ
똑같은 문자입력인데 한글 쓸때 InputField.isFocus가 true가 되고 영어는 InputField.isFocus가 false가 되는데
이거 어케하죠 ? ㅠㅠ
그냥...한글을...쓰지마