docs.unity3d.com
    Show / Hide Table of Contents

    Interface IInputUpdateCallbackReceiver

    Interface to allow custom input devices to receive callbacks when the input system is updated.

    Namespace: UnityEngine.InputSystem.LowLevel
    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()
    In This Article
    • Methods
      • OnUpdate()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023