docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithStoreEntityQueryInField

    WithStoreEntityQueryInField(ForEachLambdaJobDescription, ref EntityQuery)

    Stores the generated query in a field

    Declaration
    public static ForEachLambdaJobDescription WithStoreEntityQueryInField(this ForEachLambdaJobDescription description, ref EntityQuery query)
    Parameters
    Type Name Description
    ForEachLambdaJobDescription description

    The target object

    EntityQuery query

    Reference to field in the system to store the query

    Returns
    Type Description
    ForEachLambdaJobDescription

    The target object, suitable for chaining multiple methods

    Remarks

    Unity calls this before the ForEach invocation, so the query can be used as soon as the system is created.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)