Fix plugin doesn't work at editor using ios/android platform

`UNITY_IPHONE` and `UNITY_ANDROID` defines when using their platform, even if we execute on Editor.
We need to check **not** UNITY_EDITOR.
How about this patch?

Thank you for your nice plugin for Unity :)