Interface IInputUpdateCallbackReceiver
Interface to allow custom input devices to receive callbacks when the input system is updated.
Namespace: UnityEngine.InputSystem
Syntax
public interface IInputUpdateCallbackReceiver
Remarks
If an InputDevice class implements the IInputUpdateCallbackReceiver interface, any instance of the InputDevice will have it's OnUpdate() method called whenever the input system updates. This can be used to implement custom state update logic for virtual input devices which track some state in the project.
Methods
OnUpdate()
Declaration
void OnUpdate()