tree sway and shadow improvements
[WindSway-HDRP.git] / Library / PackageCache / com.unity.postprocessing@2.1.2 / PostProcessing / Editor / PostProcessProfileEditor.cs
blob2f586c3375ef8de4f1650da86f0f21b092d081c8
1 using UnityEngine.Rendering.PostProcessing;
3 namespace UnityEditor.Rendering.PostProcessing
5 [CustomEditor(typeof(PostProcessProfile))]
6 sealed class PostProcessProfileEditor : Editor
8 EffectListEditor m_EffectList;
10 void OnEnable()
12 m_EffectList = new EffectListEditor(this);
13 m_EffectList.Init(target as PostProcessProfile, serializedObject);
16 void OnDisable()
18 if (m_EffectList != null)
19 m_EffectList.Clear();
22 public override void OnInspectorGUI()
24 serializedObject.Update();
25 m_EffectList.OnGUI();
26 serializedObject.ApplyModifiedProperties();