Version: 5.5
public string gameName ;

Description

The name of the game (like John Doe's Game).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { HostData[] hostData = MasterServer.PollHostList(); Debug.Log("Games found: "); foreach (HostData element in hostData) { Debug.Log(element.gameName); } } }