docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>

    For internal use only, helper struct that should be used to implements systems that copies commands from the ICommandData buffer to the IInputComponentData component present on the entity.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    [Obsolete("ApplyCurrentInputBufferElementToInputData has been deprecated. There is no replacement, being the method meant to be used only by code-generated systems.", false)]
    public struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData> where TInputBufferData : unmanaged, IInputBufferData where TInputComponentData : unmanaged, IInputComponentData
    Type Parameters
    Name Description
    TInputBufferData

    Input buffer data

    TInputComponentData

    Input component data

    Methods

    InitJobData(ref SystemState)

    Update the component type handles and create a new ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob that can be passed to your job.

    Declaration
    public ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob InitJobData(ref SystemState state)
    Parameters
    Type Name Description
    SystemState state

    Unity.Entities.SystemState

    Returns
    Type Description
    ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob

    a new ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob instance.

    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)