Skip to content

Commit 85fb721

Browse files
Fix missing API error when URP isn't present. (#230)
1 parent 090e40d commit 85fb721

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.microsoft.mrtk.graphicstools.unity/Runtime/ShaderQualitySettings/ShaderQualitySettingsManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4+
#if GT_USE_URP
45
using System;
56
using UnityEditor;
67
using UnityEngine;
@@ -179,3 +180,4 @@ private void RefreshInspector(ShaderQualityLevel shaderQualityLevel)
179180
}
180181
#endif
181182
}
183+
#endif // GT_USE_URP

0 commit comments

Comments
 (0)