The IP address of the connection tester used in Network.TestConnection.
function ResetIP() { Network.connectionTesterIP = "127.0.0.1"; Network.connectionTesterPort = 10000; }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void ResetIP() { Network.connectionTesterIP = "127.0.0.1"; Network.connectionTesterPort = 10000; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def ResetIP() as void: Network.connectionTesterIP = '127.0.0.1' Network.connectionTesterPort = 10000