5 namespace UnityEditor
.Experimental
.Rendering
7 static class PostProcessShaderIncludePath
9 #if UNITY_2018_1_OR_NEWER && !UNITY_2018_3_OR_NEWER
12 public static string[] GetPaths()
14 var srpMarker
= Directory
.GetFiles(Application
.dataPath
, "POSTFXMARKER", SearchOption
.AllDirectories
).FirstOrDefault();
15 var paths
= new string[srpMarker
== null ? 1 : 2];
17 if (srpMarker
!= null)
19 paths
[index
] = Directory
.GetParent(srpMarker
).ToString();
22 paths
[index
] = Path
.GetFullPath("Packages/com.unity.postprocessing");