private static void OpenWindow() { win = GetWindow <UnityEditorMemoWindow>(); win.minSize = WindowHelper.WINDOW_SIZE; win.titleContent.text = WindowHelper.WINDOW_TITLE; win.Show(); win.IsInitialized = false; }
private static void OpenWindow() { win = GetWindow <UnityEditorMemoWindow>(); win.minSize = WindowHelper.WINDOW_SIZE; win.titleContent.text = WindowHelper.WINDOW_TITLE; Initialize(); Undo.undoRedoPerformed -= Initialize; Undo.undoRedoPerformed += Initialize; }