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 IJobEntityBatch type. The generated IJobEntityBatch type in turn
invokes the Execute() method on the IJobEntity type with the appropriate arguments.
Namespace: Unity.Entities
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.