Skip to content

Commit 02df99a

Browse files
shaders path
1 parent 4fd177c commit 02df99a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

com.unity.toonshader/Tests/Editor/ShaderCompileTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
using System.IO;
12
using NUnit.Framework;
23
using UnityEditor;
34
using UnityEngine;
5+
using Unity.Rendering.Toon;
46

57
namespace Unity.ToonShader.EditorTests {
68
internal class ShaderCompileTest
@@ -24,7 +26,7 @@ public void CompileLegacyToonShadersDefault() {
2426

2527
//----------------------------------------------------------------------------------------------------------------------
2628

27-
private const string SHADERS_PATH = "Packages/com.unity.toonshader/Runtime/Integrated/Shaders";
29+
private static readonly string SHADERS_PATH = Path.Combine("Packages", ToonConstants.PACKAGE_NAME,"Runtime/Integrated/Shaders");
2830

2931
}
3032

0 commit comments

Comments
 (0)