put #if UNITY_EDITOR guards around this editor script, because in certai...

...n folder arrangements and/or when building a DLL, Unity can erroneously try to include this script in the game build.