Skip to content

Commit 9877434

Browse files
committed
Added a warning to PostProcessDebug if a SRP is active
1 parent dfe4d06 commit 9877434

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PostProcessing/Editor/PostProcessDebugEditor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ public override void OnInspectorGUI()
7272
RebuildProperties();
7373
}
7474

75+
if (RuntimeUtilities.scriptableRenderPipelineActive)
76+
{
77+
EditorGUILayout.Space();
78+
EditorGUILayout.HelpBox("A scriptable render pipeline is active, these features might not be available.", MessageType.Info);
79+
}
80+
7581
if (m_PostProcessLayer.objectReferenceValue != null)
7682
{
7783
m_LayerObject.Update();

0 commit comments

Comments
 (0)