예제 #1
0
    private void switchToNormalMode()
    {
        fieldForceSlider.minHorizontalValue = normalFieldForceRange.x;
        fieldForceSlider.maxHorizontalValue = normalFieldForceRange.y;

        fieldRadiusSlider.minHorizontalValue = normalFieldRadiusRange.x;
        fieldRadiusSlider.maxHorizontalValue = normalFieldRadiusRange.y;

        socialForceSlider.minHorizontalValue = normalSocialForceRange.x;
        socialForceSlider.maxHorizontalValue = normalSocialForceRange.y;

        socialRadiusSlider.minHorizontalValue = normalSocialRadiusRange.x;
        socialRadiusSlider.maxHorizontalValue = normalSocialRadiusRange.y;

        dragSlider.minHorizontalValue = normalDragRange.x;
        dragSlider.maxHorizontalValue = normalDragRange.y;

        particleCountSlider.maxHorizontalValue = simManager.GetRecommendedMaxParticles(SimulationMethod.Texture);

        zoomController.ZoomTo(_normalZoomDefault);
    }