I created my own input manager. I was using it in editor without problems. But when I built the client, it started to give Null Reference Exception.
input_Accept.keyboardKey = keyboard_Accept.GetComponent().keycode;
keyboard_Accept.GetComponent().keycode isn't null and it's working in editor.
Any helps?
↧