//using System; //using System.Linq.Expressions; //using UnityEngine.PostProcessing; //namespace UnityEditor.PostProcessing //{ // [CustomEditor(typeof(PostProcessingBehaviour))] // public class PostProcessingBehaviourEditor : Editor // { // SerializedProperty m_Profile; // public void OnEnable() // { // m_Profile = FindSetting((PostProcessingBehaviour x) => x.profile); // } // public override void OnInspectorGUI() // { // serializedObject.Update(); // EditorGUILayout.PropertyField(m_Profile); // serializedObject.ApplyModifiedProperties(); // } // SerializedProperty FindSetting(Expression> expr) // { // return serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr)); // } // } //}