Last updated 5 years ago
Was this helpful?
Leaves the local player's room.
Methods
Called by players to begin an asynchronous operation to leave their rooms.
Class
The error that occurred when a lobby API operation failed.
NetworkClient.Lobby.LeaveRoom((successful, error) =>{ if (successful) { Debug.Log("Left room"); } else { Debug.Log("Failed to leave room " + error); } });