Version: 2017.2

ClientScene.readyConnection

Switch to Manual
public static Networking.NetworkConnection readyConnection ;

Description

The NetworkConnection object that is currently "ready". This is the connection to the server where objects are spawned from.

This connection can be used to send messages to the server. There can only be one ready connection at a time. There can be multiple NetworkClient instances in existence, each with their own NetworkConnections, but there is only one ClientScene instance and corresponding ready connection.