12345678910111213141516171819 |
- using UnityEngine.Rendering.Universal;
- namespace UnityEditor.Rendering.Universal
- {
- [VolumeComponentEditor(typeof(WhiteBalance))]
- sealed class WhiteBalanceEditor : VolumeComponentEditor
- {
- public override void OnInspectorGUI()
- {
- if (UniversalRenderPipeline.asset?.postProcessingFeatureSet == PostProcessingFeatureSet.PostProcessingV2)
- {
- EditorGUILayout.HelpBox(UniversalRenderPipelineAssetEditor.Styles.postProcessingGlobalWarning, MessageType.Warning);
- return;
- }
- base.OnInspectorGUI();
- }
- }
- }
|