public static void setPushADStatus(bool adPushEnable) { Debug.Log("[GPUnity][Call] setPushADStatus : " + adPushEnable); #if UNITY_EDITOR { Debug.Log("GamePot - UNITY EDITOR DUMMY CALLBACK setPushAd always success"); // Temporary user info for UnityEditor Development mode if (GamePotEventListener.s_instance != null) { GamePotEventListener.s_instance.onPushAdSuccess(); } else { Debug.LogError("GamePot UnityEditor listener is NULL"); } } #elif UNITY_IOS GamePotUnityPluginiOS.setPushAd(adPushEnable); #elif UNITY_ANDROID GamePotUnityPluginAOS.setPushAd(adPushEnable); #endif }