Skip to content

Instantly share code, notes, and snippets.

@ikriz
Last active August 29, 2015 14:27
Show Gist options
  • Save ikriz/a9cb30bff791aace4152 to your computer and use it in GitHub Desktop.
Save ikriz/a9cb30bff791aace4152 to your computer and use it in GitHub Desktop.
Unity 4.x Editor Macro's
using UnityEditor;
using UnityEditorInternal;
public class EnableMacros : Editor {
[MenuItem ("Window/Macros")]
static void Init () {
MacroWindow win = (MacroWindow)EditorWindow.CreateInstance<MacroWindow>();
win.Show();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment