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.
[BurstCompile]
public struct ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>
where TInputBufferData : struct, IInputBufferData where TInputComponentData : struct, IInputComponentData
Type Parameters
Name |
Description |
TInputBufferData |
|
TInputComponentData |
|
Methods
Creates all the internal queries and setup the internal component type handles.
Very important, add an implicity constraint for running the parent system only when the client
is connected to the server, by requiring at least one connection with a NetworkId components.
Should be called inside your the system OnCreate method.
Declaration
[BurstCompile]
public EntityQuery Create(ref SystemState state)
Parameters
Returns
Declaration
[BurstCompile]
public ApplyCurrentInputBufferElementToInputData<TInputBufferData, TInputComponentData>.ApplyInputDataFromBufferJob InitJobData(ref SystemState state)
Parameters
Returns