コード例 #1
0
        public static List <EditorWindow> GetAllInspector()
        {
            var type        = XReflectionUtils.GetUnityEditor("UnityEditor.InspectorWindow");
            var returnValue = type.TryInvokeGlobalMethod("GetInspectors");

            return((List <EditorWindow>)returnValue);
        }
コード例 #2
0
        public static EditorWindow GetInspectorWindow()
        {
            var type   = XReflectionUtils.GetUnityEditor("UnityEditor.InspectorWindow");
            var window = EditorWindow.GetWindow(type);

            return(window);
        }