couldn't be created because there is no script with that name. が出る理由

Editor クラスを継承したクラスのコードが、

Assets/Editor 下にないと表示される。

該当ファイルは Editorフォルダを作成し、その中に入れるべし。