docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property Dependency

    Dependency

    The ECS-related data dependencies of the system.

    Declaration
    public JobHandle Dependency { get; set; }
    Property Value
    Type Description
    JobHandle
    Remarks

    Before OnUpdate() or OnUpdate(ref SystemState), the Dependency property represents the combined job handles of any job that writes to the same components that the current system reads -- or reads the same components that the current system writes to.

    The JobHandle objects of any jobs scheduled with explicit dependencies are not combined with the system’s Dependency property. You must set the Dependency property manually to make sure that later systems receive the correct job dependencies.

    See Also
    Dependency
    In This Article
    Back to top
    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