nathaniel.buck@unity3d.com 80161691 | 3 年前 | |
---|---|---|
.. | ||
Documentation~ | 3 年前 | |
Runtime | 3 年前 | |
Tests | 3 年前 | |
.gitattributes | 3 年前 | |
.gitmodules | 3 年前 | |
CHANGELOG.md | 3 年前 | |
CHANGELOG.md.meta | 3 年前 | |
DESIGN.md | 3 年前 | |
DESIGN.md.meta | 3 年前 | |
LICENSE.md | 3 年前 | |
LICENSE.md.meta | 3 年前 | |
Pipfile | 3 年前 | |
Pipfile.meta | 3 年前 | |
README.md | 3 年前 | |
README.md.meta | 3 年前 | |
Runtime.meta | 3 年前 | |
Tests.meta | 3 年前 | |
package.json | 3 年前 | |
package.json.meta | 3 年前 |
README.md
Welcome
Welcome to the Unity Transport repository!
The new Unity Transport Package which will replace the UNet low-level API. The preview of the transport package supports establishing connections and sending messages to a remote host. It also contains utilities for serializing data streams to send over the network.
Transport CI summary
Documentation
For more information about the Transport package, please see the Unity Transport Documentation. The site includes guides, API reference, and release notes.
A changelog is also available in the package.
Connect
See the Multiplayer forum to ask questions and connect with Transport.
Samples
All samples are in /TransportSamples~.
Ping
The ping sample is a good starting point for learning about all the parts included in the transport package. The ping client establishes a connection to the ping server, sends a ping message and receives a pong reply. Once pong is received the client will disconnect.
It is a simple example showing you how to use the new Unity Transport Package.
Ping consists of multiple scenes, all found in sampleproject/Assets/Scenes/
.
PingMainThread.unity
- A main-thread only implementation of ping.Ping.unity
- A fully jobified version of the ping client and server.PingClient.unity
- The same jobified client code asPing.unity
, but without the server.PingServer.unity
- The dedicated server version of the jobified ping. A headless (or Server Build in 2019.1) Linux 64 bit build of this scene is what should be deployed to Multiplay.PingECS.unity
- An ECS version of the jobified ping sample.
Soaker
A stress test which will create a set number of clients and a server in the same process. Each client will send messages at the specified rate with the specified size and measure statistics.
Pipeline
An example of the pipelines feature that offers layers of functionality on top of the default socket implementation behaviour.