docs.unity.cn
    Show / Hide Table of Contents

    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
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023