HostData.gameType 游戏类型
var gameType : string
Description描述
The type of the game (like "MyUniqueGameType")
游戏的类型(像MyUniqueGameType)
// Requests info from the master server and prints
// the gameType of each host
//从master服务器请求信息,并打印每个主机的游戏类型
function Start() {
var hostData : HostData[] = MasterServer.PollHostList();
for(var element : HostData in hostData) {
Debug.Log(element.gameType);
}
}
最后修改:2011年2月24日 Thursday 11:49