浏览代码

Disable rebuilding of lightmaps.

/main
Remy 6 年前
当前提交
8e200389
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 5
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_GraphicTestRunner.cs

5
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_GraphicTestRunner.cs


using EditorSceneManagement = UnityEditor.SceneManagement;
#endif
public class HDRP_GraphicTestRunner : IPrebuildSetup
public class HDRP_GraphicTestRunner
{
[UnityTest, Category("HDRP Graphic Tests")]
[PrebuildSetup("SetupGraphicsTestCases")]

ImageAssert.AreEqual(testCase.ReferenceImage, camera, (settings != null)?settings.ImageComparisonSettings:null);
}
// Old code to auto generate the lightmaps base on scene asset tag ... this should no be needed anymore apparently. The class need to herit from IPrebuildSetup
/*
public void Setup()
{
#if UNITY_EDITOR

}
#endif
}
*/
#if UNITY_EDITOR

正在加载...
取消
保存