Esempio n. 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;
 }
Esempio n. 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();
        }