http://docs.unity3d.com/Manual/editor-PropertyDrawers.html On the Property Drawers page you state the JS and C# code together, then you state the C# code again. This happens right throughout the page.