Beispiel #1
0
 /// <summary>
 /// Add an ultrasonic sensor to the selected node and display its output
 /// </summary>
 public void AddUltrasonic()
 {
     if (selectedNode != null)
     {
         currentSensor = sensorManager.AddUltrasonic(selectedNode, new Vector3(0, 0.2f, 0), Vector3.zero);
         DisplayOutput();
     }
 }