Skip to content

Commit 15bd30b

Browse files
committed
10.2 fixes
1 parent 29f8faf commit 15bd30b

File tree

144 files changed

+32513
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+32513
-164
lines changed

TestProjects/VisualEffectGraph_HDRP/Assets/AllTests/Editor/Tests/VFXComponentTest.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,17 @@ public IEnumerator CreateComponent_And_Graph_Restart_Component_Expected()
202202
yield return new ExitPlayMode();
203203
}
204204

205+
[UnityTest]
206+
public IEnumerator Check_VFXRenderer_DefaultRenderingLayerNames()
207+
{
208+
//The content of default rendering layer names is retrieved by reflection.
209+
var layerNames = VisualEffectEditor.RendererEditor.s_DefaultRenderingLayerNames;
210+
Assert.IsNotNull(layerNames);
211+
Assert.IsTrue(layerNames.Length != 0);
212+
Assert.IsFalse(layerNames.Any(o => string.IsNullOrEmpty(o)));
213+
yield return null;
214+
}
215+
205216
[UnityTest]
206217
public IEnumerator CreateComponent_And_Graph_Modify_It_To_Generate_Expected_Exception()
207218
{

0 commit comments

Comments
 (0)