Interface IJobEntityChunkBeginEnd
When added to an implemented IJobEntity the two functions will be called at the beginning and end of each chunk iteration.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public interface IJobEntityChunkBeginEnd
Methods
Name | Description |
---|---|
OnChunkBegin(in ArchetypeChunk, int, bool, in v128) | Called at the beginning of every chunk iteration in the IJobEntity.
It also tells whether or not to run |
OnChunkEnd(in ArchetypeChunk, int, bool, in v128, bool) | Called at the end of every chunk iteration in the IJobEntity.
Will still be called even if OnChunkBegin(in ArchetypeChunk, int, bool, in v128) returned false.
You can handle this case by checking |