feat:SVC搜集工作支持在CI上进行

This commit is contained in:
NKG丶MadLife
2022-07-27 00:17:23 +08:00
parent 7f41ba9a3c
commit 17fab5ad61
2 changed files with 18 additions and 9 deletions
+5
View File
@@ -214,6 +214,11 @@ namespace YooAsset.Editor
{
EditorWindow.FocusWindowIfItsOpen<SceneView>();
}
public static void CloseUnityGameWindow()
{
System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView");
EditorWindow.GetWindow(T, false, "GameView", true).Close();
}
public static void FocusUnityGameWindow()
{
System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView");