Dec 282014
 

This is a simple parameter tweaking script for Unity. It finds all fields and properties marked with [TweakableMember] in MonoBehaviours in a scene, and enables tweaking from inside the game, which can be useful on tablets etc, where there is no access to the inspector.

TweakGUI3

Simply put the script somewhere in your scene, and mark any fields or properties in your code that should be tweakable with [TweakableMember] and the script will find them. Or you can restrict the searching to specific game objects by setting references to them in the inspector. It works for bool, int and float members at the moment, but is easy to extend.

The script is available on Github here.

 Posted by at 17:24