Merge pull request #4 from Techiesplash/experimental

Fixed problem in ImGui Menu Demo
This commit is contained in:
Techiesplash 2023-01-15 14:41:58 -08:00 committed by GitHub
commit 46f6bae565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,12 +23,12 @@ public class IMGUIMenuDemo : MonoBehaviour, IMatchmaker
private void Refresh() private void Refresh()
{ {
IMatchmaker.Connect(); IMatchmaker.Connect();
/* var x = IMatchmaker.GetAllLobbyIdsByAttribute("public", "True"); var x = IMatchmaker.GetAllLobbyIdsByAttribute("public", "True");
foreach (var y in x) foreach (var y in x)
{ {
ServerList.Add(IMatchmaker.GetLobbyAttribute(y, "_auto_ip")); ServerList.Add(IMatchmaker.GetLobbyAttribute(y, "_auto_ip"));
}*/ }
// IMatchmaker.Disconnect(); IMatchmaker.Disconnect();
} }
private void OnGUI() private void OnGUI()