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