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

RemovePlayer() public method

This removes this player from the lobby.

public RemovePlayer ( ) : void
return void
        public void RemovePlayer()
        {
            if (base.isLocalPlayer && !this.m_ReadyToBegin)
            {
                if (LogFilter.logDebug)
                {
                    Debug.Log("NetworkLobbyPlayer RemovePlayer");
                }
                ClientScene.RemovePlayer(base.GetComponent<NetworkIdentity>().playerControllerId);
            }
        }