docs.unity3d.com
    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.

    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