Version: 2018.1
public static string ipAddress ;

説明

マスターサーバーの IP アドレスを返す。

デフォルトは Unity Technologies が運営するサーバーです。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void ResetIP() { MasterServer.ipAddress = "127.0.0.1"; MasterServer.port = 10002; } }