/// <summary> /// Clear console logs /// </summary> static public void ClearDeveloperConsole() { ReflectionUtility.IStaticCall("LogEntries", "Clear"); }
/// <summary> /// Open popup to open layout (top right in editor) /// </summary> static public void OpenLayoutDialog() { ReflectionUtility.IStaticCall("EditorUtility", "Internal_DisplayPopupMenu", GUIUtility.GUIToScreenPoint(ev.mousePosition).ToRect(), "Window/Layouts", null, 0); }
static object OpenHierarchy() { return(EditorWindow.GetWindow(ReflectionUtility.GetTypeFromUT("SceneHierarchyWindow"), false, null, false)); }
/// <summary> /// Open popup to open layer masking (top right in editor) /// </summary> static public void OpenLayerMaskDialog() { ReflectionUtility.IStaticCall("LayerVisibilityWindow", "ShowAtPosition", ev.mousePosition.ToRect()); }