Created
July 28, 2018 06:37
-
-
Save Syy9/aa1a811f33253850fa86329c3b22ea47 to your computer and use it in GitHub Desktop.
Revisions
-
Syy9 created this gist
Jul 28, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ using System.Collections; using UnityEditor; using UnityEngine; public static class GetHierarchyWindow { private static EditorWindow GetWindow() { var assembly = typeof(UnityEditor.EditorWindow).Assembly; var type = assembly.GetType("UnityEditor.SceneHierarchyWindow"); return EditorWindow.GetWindow(type); } }