游戏类型(例如“MyUniqueGameType”)。
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { HostData[] hostData = MasterServer.PollHostList(); foreach (HostData element in hostData) { Debug.Log(element.gameType); } } }