예제 #1
0
 /// <summary>
 /// Toggle viewing custom materials and plane borders on button press
 /// </summary>
 /// <param name="controllerId">The id of the controller.</param>
 /// <param name="button">The button that is being released.</param>
 private void HandleOnButtonUp(byte controllerId, MLInputControllerButton button)
 {
     if (_controllerConnectionHandler.IsControllerValid(controllerId) && button == MLInputControllerButton.Bumper)
     {
         _visualizer.ToggleShowingPlanes();
     }
 }
예제 #2
0
 /// <summary>
 /// Toggle viewing custom materials and plane borders on button press
 /// </summary>
 /// <param name="controller_id">The id of the controller.</param>
 /// <param name="button">The button that is being released.</param>
 private void HandleOnButtonUp(byte controller_id, MLInputControllerButton button)
 {
     if (button == MLInputControllerButton.Bumper)
     {
         _visualizer.ToggleShowingPlanes();
     }
 }