Is there any way to see if .performed has any methods in its invocation list? I want to do a simple check to see if there’s anything in it and add only if it’s empty.
if( _playerinputActions.Player.LMB.performed == null)
{
_playerinputActions.Player.LMB.performed += DoSomething;
}
This doesn’t work. I’m only starting to get into the new Input System, so there’s probably something I’m missing here.