Files
Bachelor-Arbeit-Adrian-Haefner/Library/PackageCache/com.unity.inputsystem@7fe8299111a7/InputSystem/Devices/IInputUpdateCallbackReceiver.cs
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

16 lines
668 B
C#

namespace UnityEngine.InputSystem.LowLevel
{
/// <summary>
/// Interface to allow custom input devices to receive callbacks when the input system is updated.
/// </summary>
/// <remarks>
/// If an <see cref="InputDevice"/> class implements the IInputUpdateCallbackReceiver interface, any instance of the
/// InputDevice will have it's <see cref="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.
/// </remarks>
public interface IInputUpdateCallbackReceiver
{
void OnUpdate();
}
}