docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInputComponentData

    A special component data interface used for storing player inputs.

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public interface IInputComponentData : IComponentData, IQueryTypeParameter
    Remarks

    When using the netcode package these inputs will be automatically handled like command data and will be stored in a buffer synchronized between client and server. This is compatible with netcode features like prediction.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)