Method InitJobData
InitJobData(ref SystemState)
Initialize the internal state of a processing job, should be called from OnUpdate of an ISystem.
Declaration
public CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData InitJobData(ref SystemState state)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemState | state | Raw entity system state. |
Returns
| Type | Description |
|---|---|
| CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData | Constructed CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData with initialized state. |