
How to make this work with new Input System?
Recently getting into Unity and coding in general and been following a tutorial series and everytime I come across something that involves input I run into the issue of Unity having changed the input system for no reason and genuinely can’t figure things out sometimes. Like here, this is supposed to be a button press to interact with an NPC but of course the code here doesn’t work in the new system. I simply don’t understand how to make this same general code work in the new system and hoping someone can help. Thanks!