File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Tests/SRPTests/Projects/VisualEffectGraph_HDRP/Assets/AllTests/Editor/Tests Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ namespace UnityEditor.VFX.Test
17
17
public class VisualEffectPrefabTest
18
18
{
19
19
List < GameObject > m_gameObjectToDelete = new ( ) ;
20
- private bool m_OriginalPlayModeOptionEnabled ;
21
20
private EnterPlayModeOptions m_OriginalPlayModeOption ;
22
21
23
22
[ OneTimeSetUp ]
@@ -29,18 +28,15 @@ public void Init()
29
28
camera . transform . localPosition = Vector3 . one ;
30
29
camera . transform . LookAt ( mainCamera . transform ) ;
31
30
32
- m_OriginalPlayModeOptionEnabled = EditorSettings . enterPlayModeOptionsEnabled ;
33
31
m_OriginalPlayModeOption = EditorSettings . enterPlayModeOptions ;
34
32
EditorSettings . enterPlayModeOptions = EnterPlayModeOptions . DisableDomainReload ;
35
- EditorSettings . enterPlayModeOptionsEnabled = true ;
36
33
}
37
34
38
35
[ OneTimeTearDown ]
39
36
public void CleanUp ( )
40
37
{
41
38
VFXTestCommon . DeleteAllTemporaryGraph ( ) ;
42
39
EditorSettings . enterPlayModeOptions = m_OriginalPlayModeOption ;
43
- EditorSettings . enterPlayModeOptionsEnabled = m_OriginalPlayModeOptionEnabled ;
44
40
45
41
foreach ( var gameObject in m_gameObjectToDelete )
46
42
{
You can’t perform that action at this time.
0 commit comments