From a10eea6e4ce647061813519d5b0ea496f29495b9 Mon Sep 17 00:00:00 2001
From: leonard Wu <364452445@qq.com>
Date: 星期四, 09 八月 2018 09:47:08 +0800
Subject: [PATCH] 同步最新svn内容
---
Assets/Plugins/PostProcessing/Editor/PostProcessingBehaviourEditor.cs | 62 +++++++++++++++---------------
1 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/Assets/Plugins/PostProcessing/Editor/PostProcessingBehaviourEditor.cs b/Assets/Plugins/PostProcessing/Editor/PostProcessingBehaviourEditor.cs
index 08550b2..352451b 100644
--- a/Assets/Plugins/PostProcessing/Editor/PostProcessingBehaviourEditor.cs
+++ b/Assets/Plugins/PostProcessing/Editor/PostProcessingBehaviourEditor.cs
@@ -1,31 +1,31 @@
-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<T, TValue>(Expression<Func<T, TValue>> expr)
- {
- return serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr));
- }
- }
-}
+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<T, TValue>(Expression<Func<T, TValue>> expr)
+ {
+ return serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr));
+ }
+ }
+}
--
Gitblit v1.8.0