public static bool ToolWindowsCommonGUI(EditorWindow window) { if (SkillEditor.Instance == null) { window.Close(); return(false); } if (SkillEditorGUILayout.DoToolWindowsDisabledGUI()) { return(false); } if (EditorApplication.get_isCompiling()) { GUI.set_enabled(false); } SkillEditorStyles.Init(); if (Event.get_current().get_type() == 4 && Event.get_current().get_keyCode() == 282) { EditorCommands.ToggleShowHints(); return(false); } EditorGUI.set_indentLevel(0); return(true); }