Beispiel #1
0
        public override void OnChangeSelectedPreset(Preset preset)
        {
            var ca = preset.chromaticAberration;

            enabledToggle.OverrideValue(ca.active);
            intensitySlider.OverrideValue(ca.intensity.value);
            samplesSlider.OverrideValue(ca.maxSamples);
        }
Beispiel #2
0
        public override void OnChangeSelectedPreset(Preset preset)
        {
            var ca = preset.bloom;

            enabledToggle.OverrideValue(ca.active);
            intensitySlider.OverrideValue(ca.intensity.value);
            scatterSlider.OverrideValue(ca.intensity.value);
            thresholdSlider.OverrideValue(ca.intensity.value);
        }