Ejemplo n.º 1
0
 /// <summary>
 /// Similar function as the SyncNodeFunction
 /// </summary>
 public void SyncSensorSelection()
 {
     if (sensorManager.SelectedSensor == null)
     {
         currentSensor = null;
     }
     else
     {
         currentSensor = sensorManager.SelectedSensor.GetComponent <SensorBase>();
         sensorManager.ClearSelectedSensor();
     }
 }