can't add an editor script

Code Example - can't add an editor script

                
                        Unity has several reserved folder names, "Editor" is one of them
Remove the script from the "Editor" folder and you should be able
to attach it to a game object