Source code for my example on using Unity3D's CustomEditor, from http://www.ryan-meier.com/blog/?p=87