Esempio n. 1
0
        //send Local Push
        public static int sendLocalPush(DateTime sendDate, string title, string message)
        {
#if UNITY_EDITOR
            {
                Debug.Log("GamePot - UNITY EDITOR sendLocalPush always return -1");
            }
            return(-1);
#elif UNITY_IOS
            return(GamePotUnityPluginiOS.sendLocalPush(sendDate.ToString("yyyy-MM-dd HH:mm:ss"), title, message));
#elif UNITY_ANDROID
            return(GamePotUnityPluginAOS.sendLocalPush(sendDate, title, message));
#endif
        }