Method WithDeferredPlaybackSystem
WithDeferredPlaybackSystem<T>(ForEachLambdaJobDescription)
Specify an EntityCommandBufferSystem to play back entity commands.
Declaration
public static ForEachLambdaJobDescription WithDeferredPlaybackSystem<T>(this ForEachLambdaJobDescription description) where T : EntityCommandBufferSystem
Parameters
Type | Name | Description |
---|---|---|
ForEachLambdaJobDescription | description | The target object |
Returns
Type | Description |
---|---|
ForEachLambdaJobDescription | The target object, suitable for chaining multiple methods |
Type Parameters
Name | Description |
---|---|
T | Type of EntityCommandBufferSystem |
Remarks
To use this, you must pass an EntityCommands parameter as part of the ForEach() lambda expression. You can use this together with .Run(), .Schedule(), or .ScheduleParallel().