示例#1
0
 private static void OpenWindow()
 {
     win                   = GetWindow <UnityEditorMemoWindow>();
     win.minSize           = WindowHelper.WINDOW_SIZE;
     win.titleContent.text = WindowHelper.WINDOW_TITLE;
     win.Show();
     win.IsInitialized = false;
 }
示例#2
0
        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;
        }