Example #1
0
 //sensoradatok feltöltése a serverre
 void uploadSensorDataToServer()
 {
     if ((lastUnwalkable.Count + lastWalkable.Count) > 0)
     {
         dataSent = true;
     }
     lastWalkable.AddRange(grid.nodesInRadius(transform.position, 0.5f));
     server.uploadSensorData(lastWalkable, lastUnwalkable, this);
     lastWalkable.Clear();
     lastUnwalkable.Clear();
 }