UnityEngine.Networking.NetworkLobbyPlayer.SendSceneLoadedMessage C# (CSharp) Method

SendSceneLoadedMessage() public method

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.

public SendSceneLoadedMessage ( ) : void
return void
        public void SendSceneLoadedMessage()
        {
            if (LogFilter.logDebug)
            {
                Debug.Log("NetworkLobbyPlayer SendSceneLoadedMessage");
            }
            NetworkLobbyManager singleton = NetworkManager.singleton as NetworkLobbyManager;
            if (singleton != null)
            {
                IntegerMessage msg = new IntegerMessage(base.playerControllerId);
                singleton.client.Send(0x2c, msg);
            }
        }