55using UnityEngine . Rendering . PostProcessing ;
66using UnityEditorInternal ;
77using System . IO ;
8- using ScreenSpaceReflections = UnityEngine . Rendering . PostProcessing . ScreenSpaceReflections ;
98
109namespace UnityEditor . Rendering . PostProcessing
1110{
1211 using SerializedBundleRef = PostProcessLayer . SerializedBundleRef ;
1312 using EXRFlags = Texture2D . EXRFlags ;
14- using SSRPreset = UnityEngine . Rendering . PostProcessing . ScreenSpaceReflections . Preset ;
1513
1614 [ CanEditMultipleObjects , CustomEditor ( typeof ( PostProcessLayer ) ) ]
1715 public sealed class PostProcessLayerEditor : BaseEditor < PostProcessLayer >
@@ -31,7 +29,6 @@ public sealed class PostProcessLayerEditor : BaseEditor<PostProcessLayer>
3129 SerializedProperty m_FogEnabled ;
3230 SerializedProperty m_FogExcludeSkybox ;
3331
34- SerializedProperty m_ShowRenderingFeatures ;
3532 SerializedProperty m_ShowToolkit ;
3633 SerializedProperty m_ShowCustomSorter ;
3734
@@ -67,19 +64,9 @@ void OnEnable()
6764 m_FxaaMobileOptimized = FindProperty ( x => x . fastApproximateAntialiasing . mobileOptimized ) ;
6865 m_FxaaKeepAlpha = FindProperty ( x => x . fastApproximateAntialiasing . keepAlpha ) ;
6966
70- m_SSREnabled = FindProperty ( x => x . screenSpaceReflections . enabled ) ;
71- m_SSRPreset = FindProperty ( x => x . screenSpaceReflections . preset ) ;
72- m_SSRMaximumIterationCount = FindProperty ( x => x . screenSpaceReflections . maximumIterationCount ) ;
73- m_SSRResolution = FindProperty ( x => x . screenSpaceReflections . resolution ) ;
74- m_SSRThickness = FindProperty ( x => x . screenSpaceReflections . thickness ) ;
75- m_SSRMaximumMarchDistance = FindProperty ( x => x . screenSpaceReflections . maximumMarchDistance ) ;
76- m_SSRDistanceFade = FindProperty ( x => x . screenSpaceReflections . distanceFade ) ;
77- m_SSRAttenuation = FindProperty ( x => x . screenSpaceReflections . attenuation ) ;
78-
7967 m_FogEnabled = FindProperty ( x => x . fog . enabled ) ;
8068 m_FogExcludeSkybox = FindProperty ( x => x . fog . excludeSkybox ) ;
8169
82- m_ShowRenderingFeatures = serializedObject . FindProperty ( "m_ShowRenderingFeatures" ) ;
8370 m_ShowToolkit = serializedObject . FindProperty ( "m_ShowToolkit" ) ;
8471 m_ShowCustomSorter = serializedObject . FindProperty ( "m_ShowCustomSorter" ) ;
8572
0 commit comments