GetCurrentLobbyMemberCount
Namespace: SynicSugar.MatchMake
Class: MatchMakeManager
public int GetCurrentLobbyMemberCount()
Description
Get the current member count in Lobby.
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()}";
}
}