docs.unity.cn
    Show / Hide Table of Contents

    Interface IInputComponentData

    A special component data interface used for storing player inputs.

    Namespace: Unity.NetCode
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023