Version: 2017.1

NetworkManager.OnClientSceneChanged

Switch to Manual
public void OnClientSceneChanged (Networking.NetworkConnection conn);

Parameters

conn The network connection that the scene change message arrived on.

Description

Called on clients when a scene has completed loaded, when the scene load was initiated by the server.

Scene changes can cause player objects to be destroyed. The default implementation of OnClientSceneChanged in the NetworkManager is to add a player object for the connection if no player object exists.