Custom InputManager for Unity 3D