From 966878004f6e5b57ccf870e8b3f3423646b86a65 Mon Sep 17 00:00:00 2001 From: Oleksandr Kokoshyn Date: Thu, 23 Apr 2020 16:09:54 +0200 Subject: [PATCH 1/2] case-1196379 Added the tooltip for Post Process Data. --- .../Editor/ForwardRendererDataEditor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs b/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs index 9f7f463d9d7..d4b943fd415 100644 --- a/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs +++ b/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs @@ -11,6 +11,7 @@ namespace UnityEditor.Rendering.Universal private static class Styles { public static readonly GUIContent RendererTitle = new GUIContent("Forward Renderer", "Custom Forward Renderer for Universal RP."); + public static readonly GUIContent PostProcessLabel = new GUIContent("Post Process Data", "The asset containing references to shaders and Textures that the Renderer uses for post-processing."); public static readonly GUIContent FilteringLabel = new GUIContent("Filtering", "Controls filter rendering settings for this renderer."); public static readonly GUIContent OpaqueMask = new GUIContent("Opaque Layer Mask", "Controls which opaque layers this renderer draws."); public static readonly GUIContent TransparentMask = new GUIContent("Transparent Layer Mask", "Controls which transparent layers this renderer draws."); From ecf70ea1f3849c7a0b3b1845519e87cd5c57f8bb Mon Sep 17 00:00:00 2001 From: Oleksandr Kokoshyn Date: Fri, 24 Apr 2020 16:49:16 +0200 Subject: [PATCH 2/2] Added the Styles.PostProcessLabel argument as Elvar suggested. --- .../Editor/ForwardRendererDataEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs b/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs index d4b943fd415..cf1a37de93d 100644 --- a/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs +++ b/com.unity.render-pipelines.universal/Editor/ForwardRendererDataEditor.cs @@ -43,7 +43,7 @@ public override void OnInspectorGUI() EditorGUILayout.Space(); EditorGUILayout.LabelField(Styles.RendererTitle, EditorStyles.boldLabel); // Title EditorGUI.indentLevel++; - EditorGUILayout.PropertyField(m_PostProcessData); + EditorGUILayout.PropertyField(m_PostProcessData, Styles.PostProcessLabel); EditorGUI.indentLevel--; EditorGUILayout.Space();