private void Test()
        {
            if (!mTestWithKey)
            {
                return;
            }

            if (JCS_Input.GetKeyDownWith(mUndoKey))
            {
                Undo();
            }

            if (JCS_Input.GetKeyDownWith(mRedoKey))
            {
                Redo();
            }
        }
예제 #2
0
        private void Test()
        {
            if (!mTestWithKey)
            {
                return;
            }

            if (JCS_Input.GetKeyDownWith(mUndoKey))
            {
                UndoComponent();
            }

            if (JCS_Input.GetKeyDownWith(mRedoKey))
            {
                RedoComponent();
            }

            if (JCS_Input.GetKeyDown(mClearAllUndoRedoHistoryKey))
            {
                ClearAllUndoRedoHistory();
            }
        }