jpush-unity3d-plugin
jpush-unity3d-plugin copied to clipboard
因為目前Plugin只有iOS/Android,JPushBinding.cs的Platform Compile應該要修改
例如: `public static void Init(string gameObject) { #if UNITY_ANDROID _plugin.Call("initPush", gameObject);
#elif UNITY_IOS
_init(gameObject);
#endif
}`
要改成: `public static void Init(string gameObject) { #if UNITY_ANDROID && !UNITY_EDITOR _plugin.Call("initPush", gameObject);
#elif UNITY_IOS && !UNITY_EDITOR
_init(gameObject);
#endif
}`
否則在編輯器裡面執行都會有runtime EntryPointNotFoundException