Ejemplo n.º 1
0
 private void checkAndSetCurvatureUpdates()
 {
     if (Input.GetKeyDown(KeyCode.Minus))
     {
         OVERLAY_CURVATURE -= 0.01f;
     }
     if (Input.GetKeyDown(KeyCode.Equals))
     {
         OVERLAY_CURVATURE += 0.01f;
     }
     OVERLAY_CURVATURE = Mathf.Clamp(OVERLAY_CURVATURE, 0f, 1f);
     VHVRConfig.UpdateOverlayCurvature(OVERLAY_CURVATURE);
 }