study/first_study/Library/PackageCache/com.unity.render-pipelines.universal@d10049dfa479/Tests/Editor/ScriptTemplateTests.cs
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09:00

27 lines
650 B
C#

using UnityEditor;
using NUnit.Framework;
using UnityEditor.Rendering.Universal;
namespace UnityEngine.Rendering.Tests
{
class ScriptTemplatesTests
{
string[] paths = new string[]
{
$"{ScriptTemplates.ScriptTemplatePath}UnlitURP.txt",
$"{ScriptTemplates.ScriptTemplatePath}ScriptableRendererFeature.txt"
};
[Test]
public void ScriptTemplatesExist()
{
for (int i = 0; i < paths.Length; i++)
{
var asset = AssetDatabase.LoadAssetAtPath<TextAsset>(paths[i]);
Assert.NotNull(asset);
}
}
}
}