Ejemplo n.º 1
0
 void EndErasing(object sender, Oculus_ControllerArgs e)
 {
     if (e.axis_1d < 0.5f)
     {
         marker.stopFreeErasing();
     }
 }
Ejemplo n.º 2
0
 void stopErasing(VRController sender, ControllerComponentArgs e)
 {
     if (sender == leftController)
     {
         leftMarker.stopFreeErasing();
     }
     else
     {
         rightMarker.stopFreeErasing();
     }
 }