Hello everyone.
I have a problem with input event as described in the title.
public KeyCode m_kPositiveButton;
void OnGUI()
{
if (Event.current.type == EventType.KeyDown Event.current.keyCode != KeyCode.Escape)
{
m_kPositiveButton = Event.current.keyCode;
}
}
I built my game as a WebPlayer project and the code above works well in FireFox. But in IE, I got a KeyCode.None when I pressed the Tab button on my keyboard.
Any help will be appreciated.