예제 #1
0
 private void memoPostProcess(UnityEditorMemoCategory category, UnityEditorMemo memo)
 {
     category.AddMemo(memo);
     memoText       = "";
     postMemoTex    = 0;
     postMemoUrl    = "";
     memoScrollView = Vector2.zero;
     if (selectLabel == 0)
     {
         postMemoLabel = 0;
     }
     GUIUtility.keyboardControl = 0;
 }
예제 #2
0
        private void OnMemoPost(UnityEditorMemoCategory category, UnityEditorMemo memo)
        {
            UndoHelper.EditorMemoUndo(UndoHelper.UNDO_POST);

            category.AddMemo(memo);
            category.Initialize();
            memoText    = "";
            postMemoTex = 0;
            postMemoUrl = "";
            if (selectLabel == 0)
            {
                postMemoLabel = 0;
            }
            GUIUtility.keyboardControl = 0;
            MemoTreeViewInitialize();
        }