docs.unity3d.com
    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 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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023