docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob

    Helper struct that should be used to implement jobs that copies commands from an ICommandData buffer to the respective IInputComponentData.

    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("ApplyInputDataFromBufferJob has been deprecated.", false)]
    public struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob

    Methods

    Execute(ArchetypeChunk, int)

    Copy the command for current server tick to the input component. Should be called your job Unity.Jobs.IJob.Execute() method.

    Declaration
    public void Execute(ArchetypeChunk chunk, int orderIndex)
    Parameters
    Type Name Description
    ArchetypeChunk chunk

    Chunk

    int orderIndex

    Order index

    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)