We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例如: `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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例如:
`public static void Init(string gameObject)
{
#if UNITY_ANDROID
_plugin.Call("initPush", gameObject);
要改成:
`public static void Init(string gameObject)
{
#if UNITY_ANDROID && !UNITY_EDITOR
_plugin.Call("initPush", gameObject);
否則在編輯器裡面執行都會有runtime EntryPointNotFoundException
The text was updated successfully, but these errors were encountered: