chore:调整缩进

This commit is contained in:
NKG丶MadLife
2022-07-27 00:19:23 +08:00
parent 17fab5ad61
commit 21f350a84e
+5 -5
View File
@@ -213,12 +213,12 @@ namespace YooAsset.Editor
public static void FocusUnitySceneWindow() public static void FocusUnitySceneWindow()
{ {
EditorWindow.FocusWindowIfItsOpen<SceneView>(); 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 CloseUnityGameWindow()
{
System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView");
EditorWindow.GetWindow(T, false, "GameView", true).Close();
}
public static void FocusUnityGameWindow() public static void FocusUnityGameWindow()
{ {
System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView"); System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView");