Example #1
0
        // Unity IAP objects
        //private static IStoreController m_Controller; //コントローラーにプロダクトが入る
        //private static IExtensionProvider m_Extentions;
        #endregion

        #region life cycle
        /// <summary>
        /// Ons the application pause.
        /// </summary>
        /// <returns>The application pause.</returns>
        /// <param name="pauseStatus">Pause status.</param>
        void OnApplicationPause(bool pauseStatus)
        {
            if (pauseStatus == true)
            {
                //Debug.Log(" バックグラウンドに入る処理。");
            }
            else
            {
                string catchData = null;
#if UNITY_ANDROID && !UNITY_EDITOR
                catchData = GCMService.GetPushMessage();
#elif UNITY_IPHONE && !UNITY_EDITOR
                catchData = NativeRecieveManager.GetPushMessageIos();
#endif
                if (string.IsNullOrEmpty(catchData) == false)
                {
                    NotificationRecieveManager.NextSceneProccess(catchData);
                    NotificationRecieveManager._isCatch = true;
                }
            }
        }
Example #2
0
 /// <summary>
 /// Popups the confirm.
 /// </summary>
 void PopupConfirm()
 {
     NotificationRecieveManager.NextSceneProccess(_viewName + " " + _id);
 }