Dont know why my mouse click not working while other binding on my keyboard works. I set action type to Button and set interaction to press only. I have my Player Input component and such… Maybe my mouse broken for new input system? Not even Mouse.current is working.
private InputControls inputControls;
private void Awake()
{
inputControls = new InputControls();
inputControls.Player.LeftClick.performed += context => Debug.Log("It works");
}
private void OnEnable() => inputControls.Enable();
private void OnDisable() => inputControls.Disable();