Comment on page
Input Action Event
Listening for input actions
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.
These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Lets you connect an InputAction to a method that takes an InputActionUpdate value as a parameter in the Unity Editor Inspector similar to the behaviour with a UI Button Click event.
public InputactionEvent.ActionDataEvent changed;
public void HandleActionEvent(InputActionUpdate data)
{
//Do Work
if(data.State)
;//This action happened
}
public InputAction action;
A reference to the action to listen on. This action will invoke the Changed event when its data has changed as a result of update from the Steam Input system.
Last modified 1mo ago