Interface IJobEntity
Any type which implements this interface and also contains an Execute()
method (with any number of parameters)
will trigger source generation of a corresponding IJobChunk or IJobEntity type. The generated job in turn
invokes the Execute() method on the IJobEntity type with the appropriate arguments.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public interface IJobEntity
Remarks
If any SharedComponent, or ManagedComponent is part of the query, __EntityManager is generated. It's needed to access the components from the batch. This also means, that type of job has to run in main thread.