private void Test() { if (!mTestWithKey) { return; } if (JCS_Input.GetKeyDownWith(mUndoKey)) { Undo(); } if (JCS_Input.GetKeyDownWith(mRedoKey)) { Redo(); } }
private void Test() { if (!mTestWithKey) { return; } if (JCS_Input.GetKeyDownWith(mUndoKey)) { UndoComponent(); } if (JCS_Input.GetKeyDownWith(mRedoKey)) { RedoComponent(); } if (JCS_Input.GetKeyDown(mClearAllUndoRedoHistoryKey)) { ClearAllUndoRedoHistory(); } }