Esempio n. 1
0
        public static void setPushNightStatus(bool nightPushEnable)
        {
            Debug.Log("[GPUnity][Call] setPushNightStatus : " + nightPushEnable);

#if UNITY_EDITOR
            {
                // Temporary user info for UnityEditor Development mode
                if (GamePotEventListener.s_instance != null)
                {
                    GamePotEventListener.s_instance.onPushNightSuccess();
                }
                else
                {
                    Debug.LogError("GamePot UnityEditor listener is NULL");
                }
            }
#elif UNITY_IOS
            GamePotUnityPluginiOS.setPushNight(nightPushEnable);
#elif UNITY_ANDROID
            GamePotUnityPluginAOS.setPushNight(nightPushEnable);
#endif
        }