/// <summary> /// Starts the OverlayGUI (Call before any other GUI code!) /// </summary> public static void StartOverlayGUI() { if (currentPopup != null && Event.current.type != EventType.Layout && Event.current.type != EventType.Repaint) { currentPopup.Draw(); } }
/// <summary> /// Starts the OverlayGUI (Call before any other GUI code!) /// </summary> public static void StartOverlayGUI(string editorUser) { currentEditorUser = editorUser; if (HasPopupControl() && Event.current.type != EventType.Layout && Event.current.type != EventType.Repaint) { openedPopup.Draw(); } }