docs.unity.cn
    Show / Hide Table of Contents

    Method RunByRef

    RunByRef<T>(T, EntityQuery)

    Declaration
    public static void RunByRef<T>(this T jobData, EntityQuery query)
        where T : struct, IJobEntity
    Parameters
    Type Name Description
    T jobData
    EntityQuery query
    Type Parameters
    Name Description
    T

    RunByRef<T>(T)

    Runs the given job on the main thread. By referencing the job data.

    Declaration
    public static void RunByRef<T>(this T jobData)
        where T : struct, IJobEntity
    Parameters
    Type Name Description
    T jobData

    The implemented IJobEntity job

    Type Parameters
    Name Description
    T

    Type of IJobEntity implementation

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use