This is the error in the console:
The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?
I'm using Unity 2.6.1 pro [C#]
Oh, I see now.
It isn't in the "Editor" folder.
maybe you miss some libraries which you use,add them at the begin:using libraryName;
Universe Need I To Yield 3;
GIOWorks: Create a folder in your Project, name it "Editor", and drag your script into the folder.