/// <summary> /// Tries to join a Room. /// </summary> /// <remarks> /// Tries to join a room with the given ID. /// </remarks> /// <returns> /// Callback contains an Instance of the <c>RoomController</c> for the joined Room. /// </returns> public static void JoinRoom( PlayerSettings playerSettings, string roomId ) { }
/// <summary> /// Creates a new Room /// </summary> /// <remarks> /// Tries to create a new room with a random ID. /// </remarks> /// <returns> /// If successful it will call the <c>onCreatedRoom</c> and then the <c>onJoinedRoom</c> event. /// </returns> /// <param name="playerSettings">An Instance of <c>PlayerSettings</c></param> /// <param name="roomSettings">An Instance of <c>RoomSettings</c> without the ID specified.</param> public static void CreateRoom( PlayerSettings playerSettings, RoomSettings roomSettings ) { }