Matchmaking Callbacks

OnMatchmakingStarted(Lobby)

This event is called when matchmaking is started by lobby leader.

void Start()
{
    LobbyEventsHandler.OnMatchmakingStarted += OnMatchmakingStarted;
}

void OnMatchmakingStarted(Lobby lobby)
{
    Debug.Log("Lobby created with ID: " + lobby.LobbyID);
}

Powered by BetterDocs

Login
Loading...
Sign Up
Loading...