docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Using sample projects

    The Unity Transport package comes with a Samples folder containing simple assembly definitions and associated scenes that serve to illustrate basic aspects of the library.

    These samples can be imported through the package manager window, when selecting the Unity Transport package. The pane on the right with the package's details contains a section with all the samples.

    The following samples are provided with the package:

    SimpleClientServer

    Contains the code for the documentation section about creating a simple client and server.

    JobifiedClientServer

    Contains the code for the documentation section about creating a jobified client and server.

    Ping

    Implements a simple ping/pong service. The code shows how to take advantage of the Burst compiler and the job system.

    RelayPing

    This is re-write of the 'Ping' sample mentioned above that uses the Unity Relay service to connect players.

    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)