docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ScheduleUpdate

    ScheduleUpdate(JobHandle)

    Schedule an update job. This job will process incoming packets and check timeouts (queueing up the relevant events to be consumed by PopEvent(out NetworkConnection, out DataStreamReader) and Accept()) and will send any packets queued with EndSend(DataStreamWriter). This job should generally be scheduled once per tick.

    Declaration
    public JobHandle ScheduleUpdate(JobHandle dependency = default)
    Parameters
    Type Name Description
    JobHandle dependency

    Job to depend on.

    Returns
    Type Description
    JobHandle

    Handle to the update job.

    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