private void Awake() { _logList = new Queue <string>(); _connection = new UDPThreaded(); _connection.StartConnection(sendIp, sendPort, receivePort); hasConnection = false; postRequest = false; }
void Start() { string sendIp = "127.0.0.1"; int sendPort = 9200; int receivePort = 10001; connection = new UDPThreaded(); connection.StartConnection(sendIp, sendPort, receivePort); }