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
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 | |
TInputComponentData |
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 |
Returns
Type | Description |
---|---|
ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob | a new ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob instance. |