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

OnStartClient() public method

public OnStartClient ( ) : void
return void
        public override void OnStartClient()
        {
            NetworkLobbyManager singleton = NetworkManager.singleton as NetworkLobbyManager;
            if (singleton != null)
            {
                singleton.lobbySlots[this.m_Slot] = this;
                this.m_ReadyToBegin = false;
                this.OnClientEnterLobby();
            }
            else
            {
                Debug.LogError("LobbyPlayer could not find a NetworkLobbyManager. The LobbyPlayer requires a NetworkLobbyManager object to function. Make sure that there is one in the scene.");
            }
        }