/// <summary>
 /// Displays Ambient Lighting Injection area
 /// </summary>
 private void DisplayAmbientInjectionArea()
 {
     EditorGUILayout.BeginVertical(GuiStyles.Background);
     GuiHelpers.DrawToggleChecker(ref _ambientInjectionBoolProperty, _ambientInjectionTitleContent, true, true);
     if (_ambientInjectionBoolProperty.boolValue)
     {
         EditorGUILayout.BeginVertical(GuiStyles.EmptyMiddleAligned);
         GuiHelpers.DrawInjectionField(ref _ambientInjectionParametersProperty, _noiseMaskBoolProperty.boolValue, _currentVolume.UsesTexture2DMasking, _currentVolume.UsesTexture3DMasking);
         EditorGUILayout.Separator();
         EditorGUILayout.EndVertical();
     }
     EditorGUILayout.EndVertical();
 }
 /// <summary>
 /// Displays Tint Injection area
 /// </summary>
 private void DisplayTintInjectionArea()
 {
     EditorGUILayout.BeginVertical(GuiStyles.Background);
     GuiHelpers.DrawToggleChecker(ref _tintInjectionBoolProperty, _tintInjectionTitleContent, true, true);
     if (_tintInjectionBoolProperty.boolValue)
     {
         EditorGUILayout.BeginVertical(GuiStyles.EmptyMiddleAligned);
         EditorGUILayout.PropertyField(_tintInjectionColorProperty);
         GuiHelpers.DrawInjectionField(ref _tintInjectionParametersProperty, _noiseMaskBoolProperty.boolValue, _currentVolume.UsesTexture2DMasking, _currentVolume.UsesTexture3DMasking, true, 0, 1, true, "Brightness", "Brightness of the tinting color");
         EditorGUILayout.Separator();
         EditorGUILayout.EndVertical();
     }
     EditorGUILayout.EndVertical();
 }
 /// <summary>
 /// Displays Scattering Injection area
 /// </summary>
 private void DisplayScatteringInjectionArea()
 {
     EditorGUILayout.BeginVertical(GuiStyles.Background);
     GuiHelpers.DrawContextualHelpBox("The \"Scattering Injection\" parameters allows you to add/remove scattering inside the system.\n\nIn other words, you will be able to modify how light from light sources will bounce inside the micro particles and will be deviated by them. Typically, how \"wet\" the micro particles are.\n TIP :The \"Strength\" parameter will accept negative values. Meaning that you will be able to remove scattering as well.");
     GuiHelpers.DrawToggleChecker(ref _scatteringInjectionBoolProperty, _scatteringInjectionTitleContent, true, true);
     if (_scatteringInjectionBoolProperty.boolValue)
     {
         //EditorGUI.BeginDisabledGroup(!_scatteringInjectionBoolProperty.boolValue);
         EditorGUILayout.BeginVertical(GuiStyles.EmptyMiddleAligned);
         GuiHelpers.DrawInjectionField(ref _scatteringInjectionParametersProperty, _noiseMaskBoolProperty.boolValue, _currentVolume.UsesTexture2DMasking, _currentVolume.UsesTexture3DMasking);
         EditorGUILayout.Separator();
         EditorGUILayout.EndVertical();
         //EditorGUI.EndDisabledGroup();
     }
     EditorGUILayout.EndVertical();
 }
 /// <summary>
 /// Displays Light Injection area
 /// </summary>
 private void DisplayLightInjectionArea()
 {
     EditorGUILayout.BeginVertical(GuiStyles.Background);
     GuiHelpers.DrawContextualHelpBox("The \"Light Injection\" parameters allows you to add/remove color inside the system.\n\nIn other words, you will be able to add/remove light inside a defined area.\n TIP :The \"Strength\" parameter will accept negative values. Meaning that you will be able to remove Color.");
     GuiHelpers.DrawToggleChecker(ref _lightInjectionBoolProperty, _lightInjectionTitleContent, true, true);
     if (_lightInjectionBoolProperty.boolValue)
     {
         //EditorGUI.BeginDisabledGroup(!_lightInjectionBoolProperty.boolValue);
         EditorGUILayout.BeginVertical(GuiStyles.EmptyMiddleAligned);
         EditorGUILayout.PropertyField(_lightInjectionColorProperty);
         GuiHelpers.DrawInjectionField(ref _lightInjectionParametersProperty, _noiseMaskBoolProperty.boolValue, _currentVolume.UsesTexture2DMasking, _currentVolume.UsesTexture3DMasking);
         EditorGUILayout.Separator();
         EditorGUILayout.EndVertical();
         //EditorGUI.EndDisabledGroup();
     }
     EditorGUILayout.EndVertical();
 }