Version: 2017.2
public static int port ;

설명

The connection port of the master server.

By default this is a server run by Unity Technologies.

using UnityEngine;
using System.Collections;

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