Created
August 12, 2016 17:16
-
-
Save nasser/df96da71d519bfb7a78fc4a63c749914 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import Undo) | |
(import |System.Collections.Generic.List`1|) | |
(let [method (.GetMethod Undo "GetRecords" (enum-or BindingFlags/NonPublic | |
BindingFlags/Static)) | |
undos (|System.Collections.Generic.List`1[System.String]|.) | |
redos (|System.Collections.Generic.List`1[System.String]|.)] | |
(.Invoke method Undo (into-array [undos redos])) | |
[undos redos]) | |
;; [("Selection Change" "Create Empty Game Object" "Selection Change" | |
;; "Selection Change" "Selection Change" "Selection Change" "Rename GameObject") | |
;; ()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment