Examples from my series of blog posts on Unity3D Custom Editors at www.ryan-meier.com