Methodic

Test and interact with functions in Unity using a GUI.

Purchase on the Unity Asset Store ($15)

Function Invocation Made Easy

Test and interact with functions through a GUI in Unity. An editor window provides a simple interface to select your script’s functions and run them with parameters of your choice. Ideal for manually triggering events during gameplay and for modifying game objects in the editor.

Getting Started

Open the Methodic window by selecting the Window → Methodic menu item. If you dig hotkeys, use shift-command-m(Mac) or shift-control-m (Windows) instead. I like to keep this window docked below or beside the Inspector panel.

Click on a game object with your custom scripts attached. Methodic displays the script’s functions in a snazzy dropdown. If the selected function accepts parameters, they are displayed in editable form below the dropdown.

Once satisfied with the parameter values to send, click the Invoke button to run the function. If function returns a value, it is displayed in the Console.

Display options are available in Unity’s preferences pane for the adventurous.

Limitations

Methodic currently lacks support for array parameters. In such cases, a null value is sent when the function in invoked. This also happens when the parameter type is unrecognized; say, if it’s a class of your own creation.

Version History

1.2 — January 27, 2013

1.1.2 — December 24, 2013

1.1.1 — May 9, 2012

1.1 — May 5, 2012

1.0.1 — June 23, 2011

Contact

Questions or suggestions? Please contact me at matthew@matthewminer.com.