暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IInputUpdateCallbackReceiver.cs 668B

123456789101112131415
  1. namespace UnityEngine.InputSystem.LowLevel
  2. {
  3. /// <summary>
  4. /// Interface to allow custom input devices to receive callbacks when the input system is updated.
  5. /// </summary>
  6. /// <remarks>
  7. /// If an <see cref="InputDevice"/> class implements the IInputUpdateCallbackReceiver interface, any instance of the
  8. /// InputDevice will have it's <see cref="OnUpdate"/> method called whenever the input system updates. This can be used
  9. /// to implement custom state update logic for virtual input devices which track some state in the project.
  10. /// </remarks>
  11. public interface IInputUpdateCallbackReceiver
  12. {
  13. void OnUpdate();
  14. }
  15. }