We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb7c5ac + 2228791 commit 137b842Copy full SHA for 137b842
Prowl.Editor/PlayMode.cs
@@ -55,5 +55,10 @@ public static void Stop()
55
56
SceneManager.RestoreScene();
57
SceneManager.ClearStoredScene();
58
+
59
+ // Focus SceneViewWindow
60
+ var sceneView = EditorGuiManager.Windows.FirstOrDefault(w => w is SceneViewWindow);
61
+ if (sceneView != null && GeneralPreferences.Instance.AutoFocusGameView)
62
+ EditorGuiManager.FocusWindow(sceneView);
63
}
64
0 commit comments