Macros

Author: Matthew Miner

Description
Allows execution of arbitrary code snippets in the editor. This makes use of the undocumented UnityEditor.Macros.MacroEvaluator class, so use at your own risk.

Usage
Place the script inside the Editor folder. Open the editor window by choosing Window > Macros. Write your code in the text area then click the Execute button. See this blog post for examples.