Struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>
For internal use only, helper struct that should be used to implements systems that copies
commands from the ICommand
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 | Input buffer data |
TInputComponentData | Input component data |
Methods
InitJobData(ref SystemState)
Update the component type handles and create a new Apply
Declaration
public ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob InitJobData(ref SystemState state)
Parameters
Type | Name | Description |
---|---|---|
System |
state |
Returns
Type | Description |
---|---|
Apply |
a new Apply |