Ejemplo n.º 1
0
    /*
     * Settings menu
     */
    private void UpdateSettings()
    {
        if (cameraController.IsQwerty())
        {
            keyboard_dropdown.value = 0;
        }
        else
        {
            keyboard_dropdown.value = 1;
        }

        camera_speed_input.text       = cameraController.GetSpeed().ToString();
        camera_sensitivity_input.text = cameraController.GetSensitivity().ToString();

        heatmap_X_input.text = heatmap.GetNbPointsParkX().ToString();
        heatmap_Z_input.text = heatmap.GetNbPointsParkZ().ToString();

        landmark_height_input.text = landmarkVisibility.GetNbPositionsHeight().ToString();
        landmark_angle_input.text  = landmarkVisibility.GetNbPositionsAngle().ToString();
        landmark_nbRays_input.text = landmarkVisibility.GetNbRays().ToString();

        skyExposure_nbRays_input.text = skyExposure.GetRayNumber().ToString();
    }