Version: 2017.3

HostData.passwordProtected

매뉴얼로 전환
public bool passwordProtected ;

설명

Does the server require a password?

using UnityEngine;
using System.Collections;

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