Exemplo n.º 1
0
 /// <summary>
 /// Add a gyro to the selected node and display its output
 /// </summary>
 public void AddGyro()
 {
     if (selectedNode != null)
     {
         currentSensor = sensorManager.AddGyro(selectedNode, Vector3.zero, Vector3.zero);
         DisplayOutput();
     }
 }