ConcludeMatchMake
Namespace: SynicSugar.MatchMake
Class: MatchMakeManager
public void ConcludeMatchMake()
Description
Host finishes a matchmaking by hand.After the minimum requirement is met, Host can call this process.
This is valid only when we pass minLobbyMember to MatchMakingGUIEvents, SearchLobby, CreateLobby.
We can display the GUI Button to invoke this with MatchMakingGUIEvents.
using UnityEngine;
using UnityEngine.UI;
using SynicSugar.MatchMake;
public class MatchMake : MonoBehaviour {
public Button conclude;
public void FinishMatchMakingAfterMeetRequiredCondition(){
MatchMakeManager.Instance.ConcludeMatchMake();
conclude.gameobject.SetActive(false);
}
}