Change Room Settings

Overview

Changes the room settings.

Only the room owners can change the settings of their rooms.

Example

// Sets the room's playerTimeToLive to 500 seconds
// Makes the room public
NetworkClient.Lobby.ChangeRoomSettings(500, false, (bool successful, SWLobbyError error) =>{
	if (successful) {
		Debug.Log("Changed room settings.");
	}
	else {
		Debug.Log("Failed to change room settings " + error);
	}
});

Last updated