This version of Unity is unsupported.
Method group is Obsolete

NetworkMigrationManager.OnClientDisconnectedFromHost

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

protected void OnClientDisconnectedFromHost(NetworkConnection conn, out SceneChangeOption sceneChange);

Parameters

conn The connection to the old host.
sceneChange How to handle Scene changes.

Description

A virtual function that is called when the client is disconnected from the host.

The sceneChange parameter allows the game to choose to stay in the current Scene, or switch to the offline Scene.