public string comment ;

描述

其他备注(可以保存数据)。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { HostData[] hostData = MasterServer.PollHostList(); foreach (HostData element in hostData) { Debug.Log(element.gameName + " description: " + element.comment + "\n"); } } }