Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkLobbyPlayer.SendSceneLoadedMessage

public void SendSceneLoadedMessage();

Description

This is used on clients to tell the server that the client has switched from the lobby to the GameScene and is ready to play.

This message triggers the server to replace the lobby player with the game player.