GetMaxLobbyMemberCount
Namespace: SynicSugar.MatchMake
Class: MatchMakeManager
public int GetMaxLobbyMemberCount()
Description
Get the current lobby's member limit.
using SynicSugar.MatchMake;
using UnityEngine;
using UnityEngine.UI;
public class MatchMakeSample : MonoBehaviour {
[SerializeField] Text memberCount;
public void UpdateMemberCount(){
memberCount.text = $"{MatchMakeManager.Instance.GetCurrentLobbyMemberCount()} / {MatchMakeManager.Instance.GetMaxLobbyMemberCount()}";
}
}