Hello!
I’ve been setting up the Input System for my new project. Using the Player Input component I have managed to get key input for WASD movement as a Vector2, but when I use the same setup for the mouse it gets no data from mouse input. I am Invoking Unity Events, I have the setup in the Player Input module configured, and I have tried a few options on the mouse config in Input Actions. (Passthrough, Value, only tried as Vector2 though)
Here is the OnLook block.
public void OnLook(InputAction.CallbackContext context)
{
look = context.ReadValue<Vector2>();
Debug.Log($"look xy= {look.x} {look.y}");
}
That debug worked when troubleshooting my Move input.
I’m getting no log entries, so no events are hitting the CameraInput script object.