Struct ApplyCurrentInputBufferElementToInputDataSystem<TInputComponentData, TInputHelper>
For internal use only, system that copies commands from the InputBufferData<T> buffer to the IInputComponentData component present on the entity.
Implements
ISystem
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
[BurstCompile]
[MovedFrom(true, "Unity.NetCode", null, null)]
public struct ApplyCurrentInputBufferElementToInputDataSystem<TInputComponentData, TInputHelper> : ISystem where TInputComponentData : unmanaged, IInputComponentData where TInputHelper : unmanaged, IInputEventHelper<TInputComponentData>
Type Parameters
| Name | Description |
|---|---|
| TInputComponentData | Input component data. |
| TInputHelper | Input helper. |
Remarks
This needs to run early to ensure the input data has been applied from buffer to input data struct before the input processing system runs.
Methods
OnCreate(ref SystemState)
Declaration
[BurstCompile]
public void OnCreate(ref SystemState state)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemState | state |
OnUpdate(ref SystemState)
Declaration
[BurstCompile]
public void OnUpdate(ref SystemState state)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemState | state |
Implements
ISystem