Skip to content

Commit 87dcb2a

Browse files
committed
Remove SceneManagement, it's not required
The scene is automatically set as dirty when the gui target is
1 parent 74c1c96 commit 87dcb2a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scripts/Editor/DllManipulatorEditor.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#endif
99
using System.IO;
1010
using System;
11-
using UnityEditor.SceneManagement;
12-
using UnityEngine.SceneManagement;
1311

1412
namespace UnityNativeTool.Internal
1513
{
@@ -148,7 +146,6 @@ public override void OnInspectorGUI()
148146
if (GUI.changed)
149147
{
150148
EditorUtility.SetDirty(target);
151-
EditorSceneManager.MarkSceneDirty(SceneManager.GetActiveScene());
152149
}
153150
}
154151

0 commit comments

Comments
 (0)