Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkManager.OnServerSceneChanged

public void OnServerSceneChanged(string sceneName);

Parameters

sceneName The name of the new scene.

Description

Called on the server when a scene is completed loaded, when the scene load was initiated by the server with ServerChangeScene().