◆ JoinRoom()

static void EdgeMultiplay.EdgeManager.JoinRoom ( string  roomId,
string  playerName,
int  playerAvatar,
Dictionary< string, string >  playerTags = null 
)
static

Sends a request to the server to join a room

use public override void OnRoomJoin to get the server response

Parameters
roomIdId of the room intended to join
playerNameThe Player Name to be saved by the server
playerAvatar(integer value) Avatar Index from EdgeManager Spawn Prefabs
playerTagsDictionary<string,string> custom data associated with the player