Moved the Unity Editor code to a separate DLL to resolve a Unity build issue.