Unity basic custom popup Property drawer

With Unity4 came a nice feature : Property drawers.

They allow you to customize the appearance and behavior of your class property and thus create a nice and robust interface in Unity's editor.

One thing I needed when coding my classes was the ability to show a basic popup select list. It allowed me to choose the right behavior for the gameObject depending on this particular field value.