Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Network.proxyPort

public static int proxyPort;

Description

The port of the proxy server.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Awake() { Network.proxyIP = "1.1.1.1"; Network.proxyPort = 1111; } }