Start Room

Overview

Starts the local player's room.
Only the room owners can start their rooms.
Methods
Called by room owners to begin an asynchronous operation to start their rooms.
Class
The error that occurred when a lobby API operation failed.

Example

1
NetworkClient.Lobby.StartRoom((successful, error) =>{
2
if (successful) {
3
Debug.Log("Started room.");
4
}
5
else {
6
Debug.Log("Failed to start room " + error);
7
}
8
});
Copied!
Copy link